assume native compilation if target_os is not "none" to allow non-x86 hosts to run tests

This commit is contained in:
Tyler Holmes 2022-01-16 14:56:00 -08:00
parent e33646c189
commit 2bee731ed1

View File

@ -27,7 +27,7 @@ mpmc_large = []
# This flag has no version guarantee, the `defmt` dependency can be updated in a patch release
defmt-impl = ["defmt"]
[target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dev-dependencies]
[target.'cfg(not(target_os = "none"))'.dev-dependencies]
scoped_threadpool = "0.1.8"
[target.thumbv6m-none-eabi.dependencies]