aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-04-25 17:31:15 +0000
committerGravatar GitHub <noreply@github.com> 2021-04-25 17:31:15 +0000
commit1a4e09646aa37c3408d69fe4452265f405400593 (patch)
tree715c355511aced755078b1013902df551af783a4 /src
parent87f6c01d0c6837d6cdaa5831acc2eee86279aa01 (diff)
parentb8c72506dd6cf2235f798ff15b2f7797ac514ca7 (diff)
downloadcortex-m-1a4e09646aa37c3408d69fe4452265f405400593.tar.gz
cortex-m-1a4e09646aa37c3408d69fe4452265f405400593.tar.zst
cortex-m-1a4e09646aa37c3408d69fe4452265f405400593.zip
Merge #341
341: Update warning about linker-plugin-lto not working with -Os/-Oz r=adamgreig a=Rahix Just noticed this while reading through the docs... The bug was fixed by @jonas-schievink in Rust 1.49 already, fortunately. But as the MSRV is still 1.38 we cannot drop the warning entirely yet. Co-authored-by: Rahix <rahix@rahix.de>
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