mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 10:12:45 +01:00
Merge pull request #20339 from chrysn-pull-requests/native64-rust
cpu/native: Enable Rust on 64bit
This commit is contained in:
commit
6714a77026
@ -6,7 +6,7 @@
|
||||
[Family: native](https://github.com/RIOT-OS/RIOT/wiki/Family:-native)
|
||||
|
||||
Same board as \ref boards_native "native", but compiled for 64-bit instead of 32-bit.
|
||||
Currently only Linux x86-64 is supported, and Rust support is missing.
|
||||
Currently only Linux x86-64 is supported.
|
||||
Otherwise, everything works the same as for the 32-bit version.
|
||||
For more information on this board, see the \ref boards_native "native board" documentation.
|
||||
|
||||
|
@ -60,7 +60,7 @@ config NATIVE_OS_LINUX
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_RUST_TARGET if "$(OS_ARCH)" = "x86_64" && HAS_ARCH_32BIT
|
||||
select HAS_RUST_TARGET if "$(OS_ARCH)" = "x86_64"
|
||||
|
||||
config NATIVE_OS_FREEBSD
|
||||
bool
|
||||
|
@ -19,10 +19,7 @@ FEATURES_PROVIDED += periph_pwm
|
||||
FEATURES_PROVIDED += periph_timer_periodic
|
||||
FEATURES_PROVIDED += periph_timer_query_freqs
|
||||
ifeq ($(OS) $(OS_ARCH),Linux x86_64)
|
||||
# TODO: Add rust support for native 64 bit.
|
||||
ifneq ($(BOARD),native64)
|
||||
FEATURES_PROVIDED += rust_target
|
||||
endif
|
||||
endif
|
||||
FEATURES_PROVIDED += ssp
|
||||
|
||||
|
BIN
examples/rust-gcoap/Cargo.lock
generated
BIN
examples/rust-gcoap/Cargo.lock
generated
Binary file not shown.
BIN
examples/rust-hello-world/Cargo.lock
generated
BIN
examples/rust-hello-world/Cargo.lock
generated
Binary file not shown.
BIN
sys/rust_riotmodules_standalone/Cargo.lock
generated
BIN
sys/rust_riotmodules_standalone/Cargo.lock
generated
Binary file not shown.
BIN
tests/rust_minimal/Cargo.lock
generated
BIN
tests/rust_minimal/Cargo.lock
generated
Binary file not shown.
Loading…
Reference in New Issue
Block a user