mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2024-10-06 21:23:38 +00:00
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:
parent
6a1f5452ae
commit
333d03be5d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user