-
Notifications
You must be signed in to change notification settings - Fork 377
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
Add --force-non-host
flag.
#554
Conversation
b00fed4
to
db6e6af
Compare
bors: r+ |
Build failed: |
bors retry |
Build failed: |
@rbtcollins, |
just a small nitpick, should this be backported into https://github.com/rust-embedded/cross/tree/v0.2.1 ? |
Hmmmm, will look into that. Internally the two are basically aliases. |
What's the status on this? @rbtcollins |
We added the flag to rustup, and its in a deprecation period where it isn't required. I encourage merging the use of the flag, so that we can move forward with making it required. There is a UI glitch associated with it triggering unnecessarily in some cases on Windows, but we should get that fixed for the next release I hope |
bors retry |
Build failed: |
It looks like this is failing on MacOS and Windows builds with:
i.e., related to adding |
@rbtcollins, |
rust-lang/rustup#2968 has been merged, not sure when next release is |
As rustup has support for it, are this going in 0.2.2? |
this issue is blocked on new rustup release, it can't be included without upstream support |
We need to wait for a release that supports it, because $ rustup toolchain install 1.58.0 --force-non-host
error: Found argument '--force-non-host' which wasn't expected, or isn't valid in this context
Did you mean --force?
USAGE:
rustup toolchain install <toolchain>... --force
For more information try --help
$ rustup -V
rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.61.0 (fe5b13d68 2022-05-18) So we need to wait for a later release, but yes, if this is done prior to our |
We could check for 1.24.4 as it has been merged already. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok it seems like rustup doesn't have different branches, so it's safe to assume this will be in 1.24.4. @Emilgardis look good?
I accidentally rebased it off the wrong branch, I've since fixed it. @reitermarkus can you squash the commits down to a single one and we can merge it? |
rustup 1.25.0 has been released, containing the fix |
We should probably merge this quickly then. |
e4acb50
to
fad7b5c
Compare
fad7b5c
to
107b5e9
Compare
Co-authored-by: Markus Reiter <me@reitermark.us>
d780f1b
to
3665634
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Build succeeded: |
Closes #536.