-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
does not work with -Z build-std #398
Comments
cargo If you need this feature there is quite a bit to debug I'm afraid =/ |
Ah, does that mean nightly isn't supported for other use cases either? I don't strictly need the feature, but I've noticed that the produced binaries are smaller (enough that I'd want to do it that way), and probably slightly faster as rustc gets to do LTO across std and my code. However even though I don't need the feature, I believe it would be something embedded folks might want (building core and alloc only), for binary size reasons. |
nightly isn't tested, so if something breaks I wouldn't notice. Fixing any nightly issue and making sure it keeps working would be a full time activity. |
All I could think is that |
I see. I have very little free time these days so I'll wait if a future update to cargo would automatically solve the problem. |
This can be worked around by updating Cargo to rust-lang/cargo@50237f4, see for example: (I'm not sure why that commit wasn't backported to Cargo 0.82.0) |
This should be resolved after the update of Cargo to 0.83.0 in commit 37b000a (released as v0.10.5).
|
If you can confirm would be great :) |
Oh, awful sorry about the delay. I've just tried it and it works now! Thanks. |
Trying to build a cargo-c project with the
build-std
unstable cargo option results in a perplexing error:Note that I'm able to compile non-cargo-c projects with
build-std
using the same installation; I'm confident it's not directly cargo's fault.Is it maybe because cargo-c's version string claims it's built for cargo 1.82.0?
The text was updated successfully, but these errors were encountered: