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
--lib does not take an argument. When you pass the arg hashbrown, clap decides everything after it belongs to the rustc arguments. This is a convenience which is maybe not always so convenient.
Problem
When I pass both
--lib
and--profile
options to cargo rustc, compilation errors.Steps
"cargo" "rustc" "--lib" "hashbrown" "--profile" "test"
This errors saying
Seems like it passes the flag to rustc?
Changing the argument order changes the error:
"cargo" "rustc" --profile test "--lib" "hashbrown"
Notes
With
--bin
, everything works as expected. Just--lib
is affected.Output of
cargo version
: cargo 1.32.0 (8610973 2019-01-02)The text was updated successfully, but these errors were encountered: