Skip to content

Commit

Permalink
Merge #341
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bors[bot] and Rahix authored Apr 25, 2021
2 parents 87f6c01 + b8c7250 commit 1a4e096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a4e096

Please sign in to comment.