-
Notifications
You must be signed in to change notification settings - Fork 729
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
Update rust-toolchain #1776
Update rust-toolchain #1776
Conversation
error: use of deprecated item 'asm': the syntax of asm! will change soon, use llvm_asm! to avoid breakage
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.
@tock/core-wg I've reviewed all the changes and they're purely cosmetic. I think this is something we can/should pull in for 1.5 before doing testing.
Hum, this caused the following compiler crash on Travis.
I observed a similar issue at some point on my machine (rust-lang/rust#71380). So it looks like this particular nightly version is a bad one. Maybe we should keep the previous pinned version for the release. |
We normally update every two-ish months unless there is a problem, plus with this not passing travis, I say we continue with 1.5-rc1 to try to make this a timely release. |
Upon second thinking, you're right, a last-minute nightly update doesn't really make sense if the goal is a stable release, but I do think this can merge right after the 1.5 freeze. Re the build issue: That's a known cacheing problem, rust-lang/rust#70924 -- clearing the travis cache fixed the build here, running clean locally should fix as well. Not sure whether that will be fixed or something people will just need to do as a one-off. |
@ppannuto did someone manually re-run the Travis build? I wanted to reference it but now it unfortunately shows as "passed"... |
I did, sorry |
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.
Looks good for after 1.5
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.
Might as well go even newer!
But can the script be changed back or something? I now get a bunch of new files:
On branch pr/1776
Untracked files:
(use "git add <file>..." to include in what will be committed)
.travis.yml.bak
.vscode/settings.json.bak
doc/Getting_Started.md.bak
rust-toolchain.bak
shell.nix.bak
tools/netlify-build.sh.bak
I updated the script to fix the |
e7af2e3
to
08194db
Compare
Can we redo the build? |
Marking as draft until nightly is usable again: rust-lang/rust#70924 |
Separately from the issue that requires |
The blocking issue is only relevant to travis, correct? I don't think we can wait indefinitely for Rust to fix this. But hopefully this is patched soon. I also just tried |
Yeah, the |
As discussed in #1654, this is unfortunately the trade-off of choosing Rust nightly over Rust stable. When some things break on nightly there is no prioritization to fix them within a day. And the bigger the codebase + the more unstable features we rely on, the likelier it is that at least one thing breaks in a nightly release (as we've already seen with nightly versions not supporting Rustfmt or Clippy). In this particular case, we can get away by asking developers to explicitly On the other hand, after a month and a half lingering around, this bug is now "high priority", so i guess there is a chance it gets fixed in the next few weeks: rust-lang/rust#70924 (comment). |
1884: Remove unused `asm` feature flags r=ppannuto a=bradjc ### Pull Request Overview I noticed in #1776 that not all `asm` features are actually required. This removes many of the `asm` feature. Part of #1654, technically. ### Testing Strategy This pull request was tested by travis. (Can I still say that?) ### TODO or Help Wanted n/a ### Documentation Updated - [x] Updated the relevant files in `/docs`, or no updates are required. ### Formatting - [x] Ran `make format`. - [x] Fixed errors surfaced by `make clippy`. Co-authored-by: Brad Campbell <[email protected]>
rust-lang/rust#70924 has been fixed! So if we update this to latest nightly we are probably good to go. |
It's probably easier to start from scratch to avoid merge conflicts from the past couple months. And the branch name is not valid anymore ;) |
Pull Request Overview
This pull request updates the Rust toolchain to today's nightly (nightly-2020-04-21).
sed
commands intools/update_rust_version.sh
to work on Linux.asm!
macro to itsllvm_asm!
replacement.I've seen that the Tock 1.5 version is in progress (#1685), but almost no test have been done yet. It would be a nice opportunity to upgrade to a nightly as recent as possible for this release.
Testing Strategy
This pull request was tested by Travis.
TODO or Help Wanted
SourceFile
in new context' rust-lang/rust#70924.Documentation Updated
/docs
, or no updates are required.Formatting
make formatall
.