Skip to content
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

rust: Explicitly select nightly #18243

Merged
merged 1 commit into from Jun 23, 2022

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Jun 22, 2022

Examples have previously relied on the (really: some) nightly toolchain
to be the default. As that, in practice, is a problematic assumption,
the latest toolchain to use is now determined programmatically, and that
is set explicitly on the examples that use nightly.

Workaround-For: rust-lang/rustup#3015


This is somewhat related to #18220 -- but they should complement each other transparently enough that merging them in any order should do the right thing.

Testing

  • CI still passes
  • Set your Rust to any of rustup default nightly or rustup default stable, or set a rustup override, and the examples should still all build, with and without BUILD_IN_DOCKER=1.

(Even a rust-toolchain.yaml file should be ignored in the examples -- if CARGO_CHANNEL is set empty, that would be used, but testing that is excessive at this stage)

Examples have previously relied on the (really: some) nightly toolchain
to be the default. As that, in practice, is a problematic assumption,
the latest toolchain to use is now determined programmatically, and that
is set explicitly on the examples that use nightly.

Workaround-For: rust-lang/rustup#3015
@chrysn chrysn requested a review from kaspar030 June 22, 2022 10:17
@github-actions github-actions bot added Area: build system Area: Build system Area: doc Area: Documentation Area: examples Area: Example Applications labels Jun 22, 2022
@chrysn chrysn added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Area: Rust Area: Rust wrapper labels Jun 22, 2022
Copy link
Contributor

@kaspar030 kaspar030 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@chrysn chrysn added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jun 22, 2022
@chrysn chrysn merged commit be11978 into RIOT-OS:master Jun 23, 2022
@chrysn chrysn deleted the rust-nightly-selection branch June 23, 2022 05:52
@chrysn chrysn added this to the Release 2022.07 milestone Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system Area: doc Area: Documentation Area: examples Area: Example Applications Area: Rust Area: Rust wrapper CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants