-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Adding verbose flag to rustc makes the compiler fail to link #140003
New issue
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
Comments
What does |
|
The |
oh I see, I assumed those were additive. (the --target was necessary in the past, not sure if that is still the case) |
While trying to reproduce a cross compilation issue from a CI job, I hit this problem. Let's start with
cargo init foo && cd foo
and try cross compiling:Now I want to know the linker command used, and
cargo -v
didn't print it, so I tried to add-v
to rustc since rustc's help text says that it gives verbose output:Now I guess I did get the linker command, but I would've expected verbose output to not turn a perfectly working compiler into a broken one?
Meta
Rust:
Rust Config:
Cross compilation tools installed on the host:
Environment:
The text was updated successfully, but these errors were encountered: