mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 01:34:12 +00:00
rust: Switch to RUSTC_BOOTSTRAP=1 backdoor instead of nightly
Nightly is messing around with alloc_error_handler and they can't seem to make up their mind about it, breaking our CI. Just switch to stable rust with the usual backdoor to enable unstable features (same as the kernel does). Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
1933e59af6
commit
9e9693eb6c
2 changed files with 2 additions and 2 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
- name: Install nightly rust
|
||||
run: |
|
||||
export RUSTUP_TOOLCHAIN=nightly
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
rustup target install aarch64-unknown-none-softfloat
|
||||
|
||||
- name: Build
|
||||
|
|
2
Makefile
2
Makefile
|
@ -49,7 +49,7 @@ CFG += RELEASE
|
|||
endif
|
||||
|
||||
# Required for no_std + alloc for now
|
||||
export RUSTUP_TOOLCHAIN=nightly
|
||||
export RUSTC_BOOTSTRAP=1
|
||||
RUST_LIB := librust.a
|
||||
RUST_LIBS :=
|
||||
ifeq ($(CHAINLOADING),1)
|
||||
|
|
Loading…
Reference in a new issue