diff options
author | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
commit | 873665024ebfaa761ee49b508a79db7178aeb778 (patch) | |
tree | 6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/js91/fix-rust-target.patch | |
parent | 4445f6e15185f58dc599390ab74df3ca19b437b7 (diff) |
added gnupg
Diffstat (limited to 'repo/js91/fix-rust-target.patch')
-rw-r--r-- | repo/js91/fix-rust-target.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/js91/fix-rust-target.patch b/repo/js91/fix-rust-target.patch new file mode 100644 index 0000000..4d8918a --- /dev/null +++ b/repo/js91/fix-rust-target.patch @@ -0,0 +1,28 @@ +commit 34b3ac3195a40757bc5f51a1db5a47a4b18c68b5 +Author: Daniel Kolesa <daniel@octaforge.org> +Date: Sun Jan 23 21:13:38 2022 +0100 + + bypass rust triplet checks and just force ours + +diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure +index cd77d72b..0c03cab7 100644 +--- a/build/moz.configure/rust.configure ++++ b/build/moz.configure/rust.configure +@@ -261,7 +261,7 @@ def rust_supported_targets(rustc): + data.setdefault(key, []).append(namespace(rust_target=t, target=info)) + return data + +- ++@imports("os") + def detect_rustc_target( + host_or_target, compiler_info, arm_target, rust_supported_targets + ): +@@ -383,7 +383,7 @@ def detect_rustc_target( + + return None + +- rustc_target = find_candidate(candidates) ++ rustc_target = os.environ["RUST_TARGET"] + + if rustc_target is None: + die("Don't know how to translate {} for rustc".format(host_or_target.alias)) |