-
Notifications
You must be signed in to change notification settings - Fork 93
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
Unable to build hello world with Xargo (can't perform LTO when compiling incrementally) #236
Comments
Bisecting nightly versions, this problem started appearing with Though, it seems like Linux with versions before that are still failing: https://travis-ci.org/johnthagen/min-sized-rust/jobs/486680281 |
This is a bug in cargo that should be fixed in the current or upcoming nightly. It was reported in rust-lang/cargo#6564 (comment) and fixed in rust-lang/cargo#6610. |
I'm still hitting this issue with |
That's because cargo is a git submodule in the rustc repo which still uses the 9 day old commit 245818076 for cargo. You can see this when you run There is an open PR that updates the cargo submodule, which should finally fix this issue: rust-lang/rust#58131. |
This has been fixed on the latest nightlies. |
Follow the instructions here to build the hello world
xargo
subproject.On Mac:
What's strange is that this is after a
xargo clean
, so it shouldn't be an incremental build?For a failed Linux build output see: https://travis-ci.org/johnthagen/min-sized-rust/jobs/486629156
Cargo.toml
:Xargo.toml
:The text was updated successfully, but these errors were encountered: