serpent-os / tools

The home of moss (system state manager) and boulder (moss format build tool)
https://serpentos.com
137 stars 12 forks source link

Rejigger cargo manifest and config #280

Open ermo opened 4 months ago

ermo commented 4 months ago

With these changes, just get-started works for me again on Fedora.

It turns out that it's better to only rely on [target.'cfg(...)'] patterns for rustflags, as if there's a [build] section w/rustflags, it'll ignore the [target] sections entirely.

This PR moves the build profiles and the target compiler settings to the ./.cargo/config.toml file.

ermo commented 4 months ago

Converting to draft as this clearly needs more work.