Skip to content

Commit 4a204da

Browse files
authored
Merge pull request #267 from TDHolmes/allow-non-x86-hosts
assume native compilation if target_os is not "none" to allow non-x86 hosts to run tests
2 parents 70cecc4 + 5cf7450 commit 4a204da

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- `cargo test` can now run on non-`x86` hosts
13+
1014
### Added
1115

1216
- Added `OldestOrdered` iterator for `HistoryBuffer`

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mpmc_large = []
2727
# This flag has no version guarantee, the `defmt` dependency can be updated in a patch release
2828
defmt-impl = ["defmt"]
2929

30-
[target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dev-dependencies]
30+
[target.'cfg(not(target_os = "none"))'.dev-dependencies]
3131
scoped_threadpool = "0.1.8"
3232

3333
[target.thumbv6m-none-eabi.dependencies]

0 commit comments

Comments
 (0)