rust flags are vastly different between linux flake devshell and cargo config.toml ? #13045
Unanswered
jedesroches
asked this question in
Q&A
Replies: 1 comment
-
As an additional remark, the flags are set via |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While investigating #13040, I found that there are (at least ?) two places from which flags for rustc are set in the project.
flake.nix devshell
-C link-arg=-fuse-ld=lld
-C target-cpu=native
-C link-arg=-Wl,--no-rosegment
--cfg tokio_unstable
config.toml
--cfg tokio_unstable
-C target-feature=-crt-static
Comparison
Only the
tokio_unstable
config flag seems to appear on both sides. Without being a very experienced rustacean at all, it still strikes me as rather strange the flags would be so different between linux and all other targets... Is this expected ?Beta Was this translation helpful? Give feedback.
All reactions