Use the nightly toolchain for Redox

The latest redox-syscall crate requires at least Rust 1.59.0, but they
don't define an MSRV policy.  And the version given in the
rust-toolchain file in the Redox repository doesn't work.  So until they
clarify their MSRV, use nightly.

30f29c3295
This commit is contained in:
Alan Somers 2022-03-25 18:09:37 -06:00
parent 6a1f5452ae
commit 333d03be5d

View File

@ -262,10 +262,8 @@ task:
name: Redox x86_64
env:
TARGET: x86_64-unknown-redox
# Redox requires a nightly compiler.
# If stuff breaks, change nightly to the date at
# https://gitlab.redox-os.org/redox-os/redox/-/blob/master/rust-toolchain
TOOLCHAIN: nightly-2021-06-15
# Redox's MSRV policy is unclear. Until they define it, use nightly.
TOOLCHAIN: nightly
setup_script:
- rustup target add $TARGET
- rustup toolchain install $TOOLCHAIN --profile minimal --target $TARGET