File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,19 @@ load(":semver.bzl", "semver")
2020DEFAULT_TOOLCHAIN_NAME_PREFIX = "toolchain_for"
2121DEFAULT_STATIC_RUST_URL_TEMPLATES = ["https://static.rust-lang.org/dist/{}.tar.xz" ]
2222DEFAULT_NIGHTLY_VERSION = "nightly/{}" .format (DEFAULT_NIGHTLY_ISO_DATE )
23- DEFAULT_EXTRA_TARGET_TRIPLES = ["wasm32-unknown-unknown" , "wasm32-wasip1" , "wasm32-wasip2" ]
23+
24+ # Toolchains are cheap to declare so we can add common target platforms here
25+ # to make cross-compilation likelier to work out of the box.
26+ # TODO(zbarsky): Should we register even more?
27+ DEFAULT_EXTRA_TARGET_TRIPLES = [
28+ "aarch64-apple-darwin" ,
29+ "aarch64-unknown-linux-gnu" ,
30+ "x86_64-apple-darwin" ,
31+ "x86_64-unknown-linux-gnu" ,
32+ "wasm32-unknown-unknown" ,
33+ "wasm32-wasip1" ,
34+ "wasm32-wasip2" ,
35+ ]
2436
2537TINYJSON_KWARGS = dict (
2638 name = "rules_rust_tinyjson" ,
You can’t perform that action at this time.
0 commit comments