diff options
author | 2021-12-29 18:32:38 +0000 | |
---|---|---|
committer | 2021-12-29 18:32:38 +0000 | |
commit | f6c0312074e29dc5bc75224657bad265d9225b91 (patch) | |
tree | 04db068159c0c3b72e8acdb6aa2b9797e7890bd2 /cortex-m-semihosting/src/debug.rs | |
parent | 441cb87e4095eafbd8b170d8f0848b99fa1ec72e (diff) | |
parent | dcc53bfafede207306d635a910395e9c761a5f71 (diff) | |
download | cortex-m-f6c0312074e29dc5bc75224657bad265d9225b91.tar.gz cortex-m-f6c0312074e29dc5bc75224657bad265d9225b91.tar.zst cortex-m-f6c0312074e29dc5bc75224657bad265d9225b91.zip |
Merge #369
369: Switch "native" check from being x86_64 only to checking `HOST` r=adamgreig a=TDHolmes
If `HOST==TARGET`, we know we're compiling natively. Set a new `rustc` cfg for this and use it where we previously checked for `x86_64`.
I was trying to run tests on my M1 MacBook Pro and couldn't since it isn't `x86_64`. Also, the currently configured nightly compiler for asm doesn't have M1 support, so I updated that. I'm fine reverting that change though, I can just do that locally, but I'm sure others will hit the same issue and it's a bit old...
Co-authored-by: Tyler Holmes <tyler@holmesengineering.com>
Diffstat (limited to 'cortex-m-semihosting/src/debug.rs')
0 files changed, 0 insertions, 0 deletions