mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
988a78bc4c
Announce: https://blog.rust-lang.org/2026/05/28/Rust-1.96.0/ Release notes: https://doc.rust-lang.org/stable/releases.html#version-1960-2026-05-28 ok landry@
15 lines
437 B
Plaintext
15 lines
437 B
Plaintext
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
|
|
@@ -1290,7 +1290,6 @@ impl Build {
|
|
base.args()
|
|
.iter()
|
|
.map(|s| s.to_string_lossy().into_owned())
|
|
- .filter(|s| !s.starts_with("-O") && !s.starts_with("/O"))
|
|
.collect::<Vec<String>>()
|
|
}
|
|
|