From b8c72506dd6cf2235f798ff15b2f7797ac514ca7 Mon Sep 17 00:00:00 2001 From: Rahix Date: Sun, 25 Apr 2021 18:29:25 +0200 Subject: [PATCH] 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. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f30408e1..6a736924 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -44,8 +44,8 @@ //! - You have to use a Rust version whose LLVM version is compatible with the toolchain in //! `asm-toolchain`. //! -//! - Due to a [Rust bug][rust-lang/rust#75940], this option does not work with optimization -//! levels `s` and `z`. +//! - Due to a [Rust bug][rust-lang/rust#75940] in compiler versions **before 1.49**, this option +//! does not work with optimization levels `s` and `z`. //! //! [Linker-Plugin LTO]: https://doc.rust-lang.org/stable/rustc/linker-plugin-lto.html //! [rust-lang/rust#75940]: https://github.com/rust-lang/rust/issues/75940