Skip to content

Commit b8c7250

Browse files
committed
Update warning about linker-plugin-lto not working with -Os/-Oz
This was fixed in rust 1.49 already, fortunately. But as the MSRV is still 1.38 we cannot drop the warning entirely yet.
1 parent 87f6c01 commit b8c7250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
//! - You have to use a Rust version whose LLVM version is compatible with the toolchain in
4545
//! `asm-toolchain`.
4646
//!
47-
//! - Due to a [Rust bug][rust-lang/rust#75940], this option does not work with optimization
48-
//! levels `s` and `z`.
47+
//! - Due to a [Rust bug][rust-lang/rust#75940] in compiler versions **before 1.49**, this option
48+
//! does not work with optimization levels `s` and `z`.
4949
//!
5050
//! [Linker-Plugin LTO]: https://doc.rust-lang.org/stable/rustc/linker-plugin-lto.html
5151
//! [rust-lang/rust#75940]: https://github.com/rust-lang/rust/issues/75940

0 commit comments

Comments
 (0)