UPDATE: lang/rust > 1.77.0
This commit is contained in:
parent
3b2a1bcc45
commit
064e16c882
27 changed files with 997 additions and 392 deletions
14
lang/rust/patches/patch-src_bootstrap_src_lib_rs
Normal file
14
lang/rust/patches/patch-src_bootstrap_src_lib_rs
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue