aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Rahix <rahix@rahix.de> 2021-04-25 18:29:25 +0200
committerGravatar Rahix <rahix@rahix.de> 2021-04-25 18:29:25 +0200
commitb8c72506dd6cf2235f798ff15b2f7797ac514ca7 (patch)
tree715c355511aced755078b1013902df551af783a4 /src
parent87f6c01d0c6837d6cdaa5831acc2eee86279aa01 (diff)
downloadcortex-m-b8c72506dd6cf2235f798ff15b2f7797ac514ca7.tar.gz
cortex-m-b8c72506dd6cf2235f798ff15b2f7797ac514ca7.tar.zst
cortex-m-b8c72506dd6cf2235f798ff15b2f7797ac514ca7.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f30408e..6a73692 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