3 ms·
Building core/std/whatever using unstable flags and --target works for me these days. I can do everything with cargo and make it even more ergonomic with a tool
by junon 3y ago
Building core/std/whatever using unstable flags and --target works for me these days. I can do everything with cargo and make it even more ergonomic with a toolchain file.
Now if Cargo had a way of producing multiple variants of the same project (e.g. different --targets with pre-set features) just with `cargo build` then things would be a lot better.
As of now, a Makefile is still needed to bring it all together.
- kibwen 3y agoWe were using cargo-make for something like this, though eventually we switched to using Cargo's experimental support for artifact dependencies: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#artifact-dependencies https://doc.rust-lang.org/nightly/cargo/reference/unstable.h...