Rustaceans at the border
Rustaceans at the border
Posted Apr 16, 2022 17:45 UTC (Sat) by pkolloch (subscriber, #21709)In reply to: Rustaceans at the border by atnot
Parent article: Rustaceans at the border
There is a lot of plumbing that cargo does:
- setting env variables
- running build scripts
- setting features
- setting something like a symbol prefix to avoid clashes
- linker flags
- ... and a lot of other details
It's surprisingly hard to replicate. I know because I helped doing it for nix with contributions to buildRustCrate in nixpkgs and creating crate2nix.
