Closed
Description
This is probably a local config problem but...
➜ hubris git:(master) rustup show
Default host: x86_64-apple-darwin
rustup home: /Users/georgn/.rustup
installed toolchains
--------------------
stable-x86_64-apple-darwin
nightly-2019-01-19-x86_64-apple-darwin
nightly-2020-04-07-x86_64-apple-darwin
nightly-2021-09-22-x86_64-apple-darwin
nightly-x86_64-apple-darwin
installed targets for active toolchain
--------------------------------------
thumbv7em-none-eabihf
thumbv8m.main-none-eabihf
x86_64-apple-darwin
active toolchain
----------------
nightly-2021-09-22-x86_64-apple-darwin (overridden by '/Users/georgn/git/hubris/rust-toolchain.toml')
rustc 1.57.0-nightly (ac2d9fc50 2021-09-21)
➜ hubris git:(master) cargo xtask dist app/demo-stm32h7-nucleo/app-h7b3.toml
Finished dev [optimized + debuginfo] target(s) in 0.64s
Running `target/debug/xtask dist app/demo-stm32h7-nucleo/app-h7b3.toml`
flash = 8000000..8100000
ram = 20000000..20020000
Used:
flash: 0x24100
ram: 0x8000
building path app/demo-stm32h7-nucleo/../../task/jefe
Compiling cortex-m v0.7.3
Compiling userlib v0.1.0 (/Users/georgn/git/hubris/sys/userlib)
error[E0554]: `#![feature]` may not be used on the stable release channel
--> sys/userlib/src/lib.rs:28:1
|
28 | #![feature(asm)]
| ^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> sys/userlib/src/lib.rs:29:1
|
29 | #![feature(naked_functions)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0554`.
error: could not compile `userlib` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /Users/georgn/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.3/src/lib.rs:58:45
|
58 | #![cfg_attr(feature = "inline-asm", feature(asm))]
| ^^^
error: build failed
Error: failed to build jefe
Caused by:
command failed, see output for details
Any hints or suggestions welcome.
Metadata
Metadata
Assignees
Labels
No labels