UPDATE: lang/rust > 1.77.0

This commit is contained in:
purplerain 2024-03-24 02:17:26 +00:00
parent 3b2a1bcc45
commit 064e16c882
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
27 changed files with 997 additions and 392 deletions

View file

@ -3,9 +3,9 @@ Workaround for sparc64: bootstrap segfaults without -O3
Index: src/bootstrap/bootstrap.py
--- src/bootstrap/bootstrap.py.orig
+++ src/bootstrap/bootstrap.py
@@ -936,6 +936,9 @@ class RustBuild(object):
if deny_warnings:
env["RUSTFLAGS"] += " -Dwarnings"
@@ -975,6 +975,9 @@ class RustBuild(object):
if "RUSTFLAGS_BOOTSTRAP" in env:
env["RUSTFLAGS"] += " " + env["RUSTFLAGS_BOOTSTRAP"]
+ if self.build_triple() == "sparc64-unknown-openbsd":
+ env["RUSTFLAGS"] += " -Copt-level=3"