-Clinker-plugin-lto breaks with -Copt-level=s/z #75940
Labels
A-codegen
Area: Code generation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-embedded
Working group: Embedded systems
Using the instructions at https://doc.rust-lang.org/stable/rustc/linker-plugin-lto.html#cc-code-as-a-dependency-in-rust.
Works fine with numerical opt-levels:
Breaks with
-Copt-level=s/z
:The text was updated successfully, but these errors were encountered: