Skip to content

Commit 8bbcfab

Browse files
authored
Add platform triple arm-unknown-linux-musleabi (#3821)
Add `arm-unknown-linux-musleabi` to the list of supported platform triples in `SUPPORTED_T2_PLATFORM_TRIPLES`. The `arm-unknown-linux-musleabi` triple is a valid Rust target supported by the official Rust toolchain and is required for building Rust projects targeting ARM devices with musl. This platform triple is also recognized by popular crates in the ecosystem, such as the https://crates.io/crates/nix/0.26.2, which explicitly supports this target as T2.
1 parent 52feb40 commit 8bbcfab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/platform/triple_mappings.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ SUPPORTED_T2_PLATFORM_TRIPLES = {
4949
"aarch64-unknown-fuchsia": _support(std = True, host_tools = False),
5050
"aarch64-unknown-uefi": _support(std = True, host_tools = False),
5151
"arm-unknown-linux-gnueabi": _support(std = True, host_tools = True),
52+
"arm-unknown-linux-musleabi": _support(std = True, host_tools = True),
5253
"armv7-linux-androideabi": _support(std = True, host_tools = False),
5354
"armv7-unknown-linux-gnueabi": _support(std = True, host_tools = True),
5455
"i686-linux-android": _support(std = True, host_tools = False),

0 commit comments

Comments
 (0)