Skip to content

Commit 2bee731

Browse files
committed
assume native compilation if target_os is not "none" to allow non-x86 hosts to run tests
1 parent e33646c commit 2bee731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)