diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:25:08 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:25:08 +0000 |
| commit | ac02af34e6938758c236ee87e99a65e9d7318c43 (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /repos/extra/librewolf/fix-rust-target.patch | |
| parent | 495bfcc4011c3eb286cb5e4d57aef27af6b8751e (diff) | |
| download | alicelinux-ac02af34e6938758c236ee87e99a65e9d7318c43.tar.gz alicelinux-ac02af34e6938758c236ee87e99a65e9d7318c43.zip | |
Woodpecker CI 495bfcc4011c3eb286cb5e4d57aef27af6b8751e [SKIP CI]
Diffstat (limited to 'repos/extra/librewolf/fix-rust-target.patch')
| -rw-r--r-- | repos/extra/librewolf/fix-rust-target.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/repos/extra/librewolf/fix-rust-target.patch b/repos/extra/librewolf/fix-rust-target.patch deleted file mode 100644 index 9342063c..00000000 --- a/repos/extra/librewolf/fix-rust-target.patch +++ /dev/null @@ -1,31 +0,0 @@ -Allow us to just set RUST_TARGEt ourselves instead of hacking around in mozilla's -weird custom build system... - ---- a/build/moz.configure/rust.configure -+++ b/build/moz.configure/rust.configure -@@ -225,7 +225,9 @@ - data.setdefault(key, []).append(namespace(rust_target=t, target=info)) - return data - -- -+@imports('os') -+@imports(_from='mozbuild.util', _import='ensure_unicode') -+@imports(_from='mozbuild.util', _import='system_encoding') - def detect_rustc_target( - host_or_target, compiler_info, arm_target, rust_supported_targets - ): -@@ -340,13 +342,13 @@ - - 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)) - -- return rustc_target -+ return ensure_unicode(rustc_target, system_encoding) - - - @imports('os') |