Skip to content

Commit

Permalink
Arm Thumb Embedded Targets. (bazelbuild#1721)
Browse files Browse the repository at this point in the history
* Use armv7-m for thumbv7m instead of armv7.

While armv7 worked for thumbv7m targets armv7-m is more correct.

* Add thumbv6m toolchain support.
  • Loading branch information
konkers authored Dec 21, 2022
1 parent 5ef52e4 commit 36c7f28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/platform/triple_mappings.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ _CPU_ARCH_TO_BUILTIN_PLAT_SUFFIX = {
"riscv64gc": "riscv64",
"s390": None,
"s390x": "s390x",
"thumbv7m": "armv7",
"thumbv6m": "armv6-m",
"thumbv7m": "armv7-m",
"wasm32": None,
"x86_64": "x86_64",
}
Expand Down

0 comments on commit 36c7f28

Please sign in to comment.