You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rustc flags like the above don't fundamentally change the final output, so it shouldn't get in the way of the goal of reliable builds to expose them. The latter is very useful when writing a performance-oriented project where it might be required to dig into why some example is optimising as well as one hopes, e.g. cargo build --release --emit=asm,llvm-ir --example underperforming.
Currently, one has to invoke rustc by hand, passing in -L flags manually to get it link dependencies, it would be nice to be able to leverage cargo's knowledge to do it automatically.
The text was updated successfully, but these errors were encountered:
Closing as a dupe of #544 and #595, I think we want to avoid many top-level flags in cargo build to the compiler (where to draw the line?) but one of those two issues would definitely help out with this.
rustc flags like the above don't fundamentally change the final output, so it shouldn't get in the way of the goal of reliable builds to expose them. The latter is very useful when writing a performance-oriented project where it might be required to dig into why some example is optimising as well as one hopes, e.g.
cargo build --release --emit=asm,llvm-ir --example underperforming
.Currently, one has to invoke
rustc
by hand, passing in-L
flags manually to get it link dependencies, it would be nice to be able to leverage cargo's knowledge to do it automatically.The text was updated successfully, but these errors were encountered: