We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to http://doc.crates.io/config.html I should be able to use
[build] rustflags = "..."
to set the linker and rustc flags, but they're ignored:
$ cargo build -v warning: unused manifest key: build.rustflags Compiling t v0.1.0 (file:///Users/jsgf/t) Running `rustc src/main.rs --crate-name t --crate-type bin -g -C metadata=6e630606adc861f6 --out-dir /Users/jsgf/t/target/debug --emit=dep-info,link -L dependency=/Users/jsgf/t/target/debug/deps` Finished debug [unoptimized + debuginfo] target(s) in 0.41 secs
[package] name = "t" version = "0.1.0" [build] rustflags = "-Clinker=/bin/also/bad"
The text was updated successfully, but these errors were encountered:
Invalid - config, not manifest
Sorry, something went wrong.
I have the same issue, any solutions for this?
Okay got it. Moved the definitions into ./cargo/config
./cargo/config
No branches or pull requests
According to http://doc.crates.io/config.html I should be able to use
to set the linker and rustc flags, but they're ignored:
The text was updated successfully, but these errors were encountered: