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

@ -0,0 +1,14 @@
let us compilation choice to be honored.
https://github.com/rust-lang/rust/issues/39900
Index: src/bootstrap/src/lib.rs
--- src/bootstrap/src/lib.rs.orig
+++ src/bootstrap/src/lib.rs
@@ -1212,7 +1212,6 @@ impl Build {
.args()
.iter()
.map(|s| s.to_string_lossy().into_owned())
- .filter(|s| !s.starts_with("-O") && !s.starts_with("/O"))
.collect::<Vec<String>>();
// If we're compiling C++ on macOS then we add a flag indicating that