Skip to content

Issues: rust-lang/rust

Draft release notes for 1.88.0
#141598 opened May 26, 2025 by Mark-Simulacrum
Open 9
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Assigned to nobody Loading
Sort

Issues list

Many new wasm features are enabled if compile wasm32v1-none with -C linker-plugin-lto flag on LLVM 20+ A-linkers Area: linkers... you gotta love linkers A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example O-wasm Target: WASM (WebAssembly), http://webassembly.org/ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#140174 opened Apr 22, 2025 by StackOverflowExcept1on
[RISCV] Code model other than medium does not work with lto A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. O-riscv Target: RISC-V architecture P-low Low priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue
#139479 opened Apr 7, 2025 by kxxt
Failure to link rust dependency with LTO-enabled C FFI code built with GCC A-FFI Area: Foreign function interface (FFI) A-linkage Area: linking into static, shared libraries and binaries A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#138681 opened Mar 19, 2025 by glandium
--emit obj with --crate-type staticlib doesn't work when -C lto=thin is set A-CLI Area: Command-line interface (CLI) to the compiler A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134998 opened Jan 1, 2025 by ChrisDenton
Adding lto = true causes duplicated symbol errors on .weak symbols A-inline-assembly Area: Inline assembly (`asm!(…)`) A-linkage Area: linking into static, shared libraries and binaries A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133974 opened Dec 6, 2024 by rslawson
Rustc fails to compile a program with ThinLTO and split-debuginfo = "packed" A-codegen Area: Code generation A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132677 opened Nov 6, 2024 by zamazan4ik
assembler label '' cannot be undefined on Windows ARM A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-miscompile Issue: Correct Rust code lowers to incorrect machine code O-AArch64 Armv8-A or later processors in AArch64 mode O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132287 opened Oct 28, 2024 by NicholasLYang
Build failure when using LTO with static linking A-linkage Area: linking into static, shared libraries and binaries A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129888 opened Sep 2, 2024 by burtonageo
Overriding LTO option in global config.toml release profile causes bootstrap failure A-contributor-roadblock Area: Makes things more difficult for new or seasoned contributors to Rust A-LTO Area: Link-time optimization (LTO) O-windows-msvc Toolchain: MSVC, Operating system: Windows T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
#126141 opened Jun 7, 2024 by RossSmyth
rust-1.75.0 fails to compile with ICE on aarch64 and various ppc arches with LTO enabled - error: could not compile memchr A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. E-needs-investigation Call for partcipation: This issues needs some investigation to determine current status E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness O-AArch64 Armv8-A or later processors in AArch64 mode O-PowerPC Target: PowerPC processors P-high High priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121124 opened Feb 15, 2024 by bowlofeggs
Codegen transformation of weak symbol to undefined across CGUs affects linking semantics A-code-coverage Area: Source-based code coverage (-Cinstrument-coverage) A-codegen Area: Code generation A-linkage Area: linking into static, shared libraries and binaries A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug.
#120842 opened Feb 9, 2024 by zmodem
Cross language LTO broken for crates with build.rs A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#115640 opened Sep 7, 2023 by dragostis
ICE: assertion failed: ptr::eq(context.tcx.gcx as *const _ as *const (), tcx.gcx as *const _ as *const ()), compiler/rustc_middle/src/ty/context/tls.rs A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#110564 opened Apr 19, 2023 by Nashenas88
-Zdylib-lto with ThinLTO is broken on windows-msvc A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-LTO Area: Link-time optimization (LTO) I-miscompile Issue: Correct Rust code lowers to incorrect machine code I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness O-windows-msvc Toolchain: MSVC, Operating system: Windows P-high High priority requires-nightly This issue requires a nightly compiler in some way. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-llvm Working group: LLVM backend code generation
#109114 opened Mar 14, 2023 by Noratrieb
AVR: miscompilation, or stack overflow, when running cryptographic code A-codegen Area: Code generation A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. I-miscompile Issue: Correct Rust code lowers to incorrect machine code I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness O-AVR Target: AVR processors (ATtiny, ATmega, etc.) P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#109000 opened Mar 10, 2023 by xphoniex
Inlined function duplication across complex branches when extern "Rust" is used with LTO and opt-level="s" A-LTO Area: Link-time optimization (LTO) C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-heavy Issue: Problems and improvements with respect to binary size of generated code. O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state O-msp430 T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#102295 opened Sep 26, 2022 by cr1901
Binary crashes when statically linked with LTO turned on A-LTO Area: Link-time optimization (LTO) O-linux Operating system: Linux regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#94564 opened Mar 3, 2022 by elast0ny
When trying to use cross language LTO on windows for the MSVC target, proc macros give a linker error without an explicit target A-diagnostics Area: Messages for errors, warnings, and lints A-LTO Area: Link-time optimization (LTO) A-proc-macros Area: Procedural macros C-bug Category: This is a bug. O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#92133 opened Dec 20, 2021 by nico-abram
Static Library with LTO option not working properly A-LTO Area: Link-time optimization (LTO)
#91624 opened Dec 7, 2021 by sijupunnnoose
staticlib + sancov + full LTO fails with 1.56 A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#90300 opened Oct 26, 2021 by glandium
LLVM ERROR: Do not know how to split the result of this operator! A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#90088 opened Oct 20, 2021 by glandium
Rust does not perform cross language LTO for C functions forwarding to C++ A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress.
#86745 opened Jun 30, 2021 by Time0o
Regression: undefined symbol __atomic_load_4 on risvc32imac-unknown-none-elf A-atomic Area: Atomics, barriers, and sync primitives A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. O-riscv Target: RISC-V architecture P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#85736 opened May 27, 2021 by xobs
Building in release mode with LTO breaks RPM build process for some code A-linkage Area: linking into static, shared libraries and binaries A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#78445 opened Oct 27, 2020 by gavrie
Empty drop() causes cross-language LTO LLVM segfault A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#74755 opened Jul 25, 2020 by TheBlueMatt
ProTip! Mix and match filters to narrow down what you’re looking for.