-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
cargo rustc -- -Zno-trans
called on crate_type = ["cdylib"]
crates abort linker
#39445
Comments
Could this have been caused by #38117? |
Hey guys, has this been confirmed/identified and do we have a fix on the way ? |
This appears to be fixed today as far as I can tell. Or, at least, I cannot reproduce. |
Hm, odd. Perhaps it's platform dependent? Or my tests weren't quite right. The latter may be more likely. |
|
I'm not quite sure. I think it's not quite deprecated, more like "usable only on nightly." Though I personally don't know any reason to use it over --emit=metadata. |
Yes, that's what I'm getting at. |
We're using --emit=metadata now. |
The error is
/usr/bin/ld:/tmp/rustc.4i5vo9joxpv6/list:4: syntax error in VERSION script
. It doesn't happen with normal lib/bin crates and it doesn't happen without-Zno-trans
.The text was updated successfully, but these errors were encountered: