Skip to content

Commit

Permalink
cpu/native: 64bit works with Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Feb 5, 2024
1 parent dff9a73 commit 6e3ff82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cpu/native/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions cpu/native/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,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 ($(NATIVE_64BIT), 1)
FEATURES_PROVIDED += rust_target
endif
FEATURES_PROVIDED += rust_target
endif
FEATURES_PROVIDED += ssp

Expand Down

0 comments on commit 6e3ff82

Please sign in to comment.