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: Use stable Rust [backport 2022.10] #19058

Merged
merged 2 commits into from
Jan 13, 2023

Conversation

maribu
Copy link
Member

@maribu maribu commented Dec 16, 2022

Backport of #18839

Contribution description

Since Rust 1.65, we don't depend on anything nightly any more. This changes the examples and documentation to use stable.

Testing procedure

  • Green CI with tests enabled
  • Look at changed documentation (rendered)

Note that these will not pass yet: This needs a CI update (no PR associated: Any CI image built from now on will do).

Issues/PRs references

A follow-up will simplify things a bit further, but that will depend on CI to have made stable the default, which is a later step in what is a bit of a lock-step game:

This is possible starting with Rust 1.65.

(cherry picked from commit 05b4749)
@maribu maribu added 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 CI: run tests If set, CI server will run tests on hardware for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master labels Dec 16, 2022
@maribu maribu mentioned this pull request Dec 16, 2022
4 tasks
@riot-ci
Copy link

riot-ci commented Dec 16, 2022

Murdock results

✔️ PASSED

ece93b8 doc/rust: Nightly is not needed any more

Success Failures Total Runtime
7 0 7 03m:47s

Artifacts

This only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now.

@benpicco benpicco requested a review from chrysn January 3, 2023 16:21
Copy link
Member

@chrysn chrysn left a comment

Choose a reason for hiding this comment

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

This does unblock the removal of nightly from CI, but seeing how fast I am these days, that might be overtaken by 2023.01 anyway.

Still, it's a valid backport (which might be appreciated especially by those building stable releases directly from distro compilers and not through CI).

@maribu
Copy link
Member Author

maribu commented Jan 12, 2023

bors merge

bors bot added a commit that referenced this pull request Jan 12, 2023
19058: rust: Use stable Rust [backport 2022.10] r=maribu a=maribu

# Backport of #18839

### Contribution description

Since Rust 1.65, we don't depend on anything nightly any more. This changes the examples and documentation to use stable.

### Testing procedure

* Green CI with tests enabled
* Look at changed documentation ([rendered](https://ci.riot-os.org/results/2923b30a4ba04dbface1ed38fb6aae12/doc-preview/using-rust.html#toolchain))

<del>Note that these will *not* pass yet: This needs a CI update (no PR associated: Any CI image built from now on will do).</del>

### Issues/PRs references

A follow-up will simplify things a bit further, but that will depend on CI to have made stable the default, which is a later step in what is a bit of a lock-step game:

* [x] CI rebuilds riotdocker -- no PR, then stable=1.65
* [ ] Use stable in examples -- this PR, then examples use stable
* [ ] CI removes nightly and makes stable the default -- RIOT-OS/riotdocker#214, then default=stable
* [ ] Use the new default to simplify makefiles -- #18840

Co-authored-by: chrysn <chrysn@fsfe.org>
@bors
Copy link
Contributor

bors bot commented Jan 12, 2023

Build failed:

@maribu
Copy link
Member Author

maribu commented Jan 12, 2023

bors retry

bors bot added a commit that referenced this pull request Jan 12, 2023
19058: rust: Use stable Rust [backport 2022.10] r=maribu a=maribu

# Backport of #18839

### Contribution description

Since Rust 1.65, we don't depend on anything nightly any more. This changes the examples and documentation to use stable.

### Testing procedure

* Green CI with tests enabled
* Look at changed documentation ([rendered](https://ci.riot-os.org/results/2923b30a4ba04dbface1ed38fb6aae12/doc-preview/using-rust.html#toolchain))

<del>Note that these will *not* pass yet: This needs a CI update (no PR associated: Any CI image built from now on will do).</del>

### Issues/PRs references

A follow-up will simplify things a bit further, but that will depend on CI to have made stable the default, which is a later step in what is a bit of a lock-step game:

* [x] CI rebuilds riotdocker -- no PR, then stable=1.65
* [ ] Use stable in examples -- this PR, then examples use stable
* [ ] CI removes nightly and makes stable the default -- RIOT-OS/riotdocker#214, then default=stable
* [ ] Use the new default to simplify makefiles -- #18840

Co-authored-by: chrysn <chrysn@fsfe.org>
@kaspar030
Copy link
Contributor

bors cancel

@bors
Copy link
Contributor

bors bot commented Jan 12, 2023

Canceled.

@miri64
Copy link
Member

miri64 commented Jan 12, 2023

bors merge

bors bot added a commit that referenced this pull request Jan 12, 2023
19058: rust: Use stable Rust [backport 2022.10] r=miri64 a=maribu

# Backport of #18839

### Contribution description

Since Rust 1.65, we don't depend on anything nightly any more. This changes the examples and documentation to use stable.

### Testing procedure

* Green CI with tests enabled
* Look at changed documentation ([rendered](https://ci.riot-os.org/results/2923b30a4ba04dbface1ed38fb6aae12/doc-preview/using-rust.html#toolchain))

<del>Note that these will *not* pass yet: This needs a CI update (no PR associated: Any CI image built from now on will do).</del>

### Issues/PRs references

A follow-up will simplify things a bit further, but that will depend on CI to have made stable the default, which is a later step in what is a bit of a lock-step game:

* [x] CI rebuilds riotdocker -- no PR, then stable=1.65
* [ ] Use stable in examples -- this PR, then examples use stable
* [ ] CI removes nightly and makes stable the default -- RIOT-OS/riotdocker#214, then default=stable
* [ ] Use the new default to simplify makefiles -- #18840

Co-authored-by: chrysn <chrysn@fsfe.org>
@bors
Copy link
Contributor

bors bot commented Jan 12, 2023

Build failed:

@maribu
Copy link
Member Author

maribu commented Jan 12, 2023

bors retry

@bors
Copy link
Contributor

bors bot commented Jan 13, 2023

Build succeeded:

@bors bors bot merged commit db2a3eb into RIOT-OS:2022.10-branch Jan 13, 2023
@maribu maribu deleted the backport/2022.10/rust-use-stable branch April 25, 2023 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 CI: run tests If set, CI server will run tests on hardware for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants