Profile
1h ago•171 words
Rust needs better cross compilation
I've been trying to replace my tiny node.js API with a rust equivalent for far too long at this point. Finally got cross compilation working tonight after reinstalling cargo twice, failing to get WSL2 to behave and eventually giving up to use cross and docker.
Why in a sane world I need to create a docker image to cross compile code onto Arm64 is a mystery to me and its just embarrassing for Rust when C# can do it natively with no issues. To add insult to injury I had to strip out the sqlite3 crate and...
~ EOF ~
Join the conversation