[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-128.0esr-14.0-1] Bug 29320: Replace the gnu target with gnullvm for Rust.
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Wed Jul 17 16:59:59 UTC 2024
Pier Angelo Vendrame pushed to branch mullvad-browser-128.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
1f329b97 by Pier Angelo Vendrame at 2024-07-17T18:52:17+02:00
Bug 29320: Replace the gnu target with gnullvm for Rust.
- - - - -
2 changed files:
- build/moz.configure/init.configure
- build/moz.configure/rust.configure
Changes:
=====================================
build/moz.configure/init.configure
=====================================
@@ -510,12 +510,16 @@ def split_triplet(triplet, allow_wasi=False):
canonical_kernel = "kFreeBSD"
elif os.startswith("gnu"):
canonical_os = canonical_kernel = "GNU"
- elif os.startswith("mingw") or os in ("windows-msvc", "windows-gnu"):
+ elif os.startswith("mingw") or os in (
+ "windows-msvc",
+ "windows-gnu",
+ "windows-gnullvm",
+ ):
canonical_os = canonical_kernel = "WINNT"
if not os.startswith("mingw"):
if os == "windows-msvc":
abi = "msvc"
- elif os == "windows-gnu":
+ elif os == "windows-gnu" or os == "windows-gnullvm":
abi = "mingw"
# Many things down the line are looking for the string "mingw32"
# until they are all fixed, we pretend that's the raw os we had
=====================================
build/moz.configure/rust.configure
=====================================
@@ -310,9 +310,9 @@ def detect_rustc_target(
if host_or_target.abi == "msvc":
suffix = "windows-msvc"
elif host_or_target.abi == "mingw":
- suffix = "windows-gnu"
+ suffix = "windows-gnullvm"
elif compiler_info.type in ("gcc", "clang"):
- suffix = "windows-gnu"
+ suffix = "windows-gnullvm"
else:
suffix = "windows-msvc"
narrowed = [
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/1f329b97d3037d83ec4a9ec38dad191436f57f23
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/1f329b97d3037d83ec4a9ec38dad191436f57f23
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240717/72b9af14/attachment-0001.htm>
More information about the tor-commits
mailing list