Skip to content

Update to a new nightly version #288

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
arch: [arm, arm64, ppc64le, riscv64, x86_64]
toolchain: [gcc, clang, llvm]
config: [debug, release]
rustc: [2021-02-20]
rustc: [2021-05-29]
output: [src] # [src, build]
install: [rustup] # [rustup, standalone]
sysroot: [common] # [common, custom]
Expand All @@ -37,23 +37,23 @@ jobs:
- arch: arm64
toolchain: gcc
config: debug
rustc: 2021-02-20
rustc: 2021-05-29
output: build
install: rustup
sysroot: custom

- arch: ppc64le
toolchain: clang
config: release
rustc: 2021-02-20
rustc: 2021-05-29
output: build
install: standalone
sysroot: common

- arch: x86_64
toolchain: llvm
config: debug
rustc: 2021-02-20
rustc: 2021-05-29
output: build
install: standalone
sysroot: custom
Expand Down
7 changes: 2 additions & 5 deletions Documentation/rust/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ rustc
*****

A recent *nightly* Rust toolchain (with, at least, ``rustc``) is required,
e.g. ``nightly-2021-02-20``. Our goal is to use a stable toolchain as soon
e.g. ``nightly-2021-05-29``. Our goal is to use a stable toolchain as soon
as possible, but for the moment we depend on a handful of nightly features.

If you are using ``rustup``, run::

rustup default nightly-2021-02-20

Please avoid the very latest nightlies (>= nightly-2021-03-05) until
https://github.com/Rust-for-Linux/linux/issues/135 is resolved.
rustup default nightly-2021-05-29

Otherwise, fetch a standalone installer or install ``rustup`` from:

Expand Down
2 changes: 1 addition & 1 deletion rust/kernel/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
allocator_api,
alloc_error_handler,
associated_type_defaults,
const_fn,
const_fn_trait_bound,
const_mut_refs,
const_panic,
const_raw_ptr_deref,
Expand Down
2 changes: 1 addition & 1 deletion samples/rust/rust_stack_probing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#![no_std]
#![feature(allocator_api, global_asm)]
#![feature(test)]
#![feature(bench_black_box)]

use kernel::prelude::*;

Expand Down