diff options
author | 2021-04-25 18:29:25 +0200 | |
---|---|---|
committer | 2021-04-25 18:29:25 +0200 | |
commit | b8c72506dd6cf2235f798ff15b2f7797ac514ca7 (patch) | |
tree | 715c355511aced755078b1013902df551af783a4 /src | |
parent | 87f6c01d0c6837d6cdaa5831acc2eee86279aa01 (diff) | |
download | cortex-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.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |