Opaque error error message if LLVM OOMs during full LTO #85598
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
O-windows-msvc
Toolchain: MSVC, Operating system: Windows
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Starting today, I am seeing the following error in rust-analyzer's CI
This happens on windows builders, when compiling with
--target x86_64-pc-windows-msvc
or--target aarch64-pc-windows-msvc
. The step which fails is compilation of the final binary crate. The binary is complied in--release
mode withlto=true
. I think the failure appeared after I addeddebug=1
as well.So my theory is that maybe this is just some OOM in the linker, and not a problem with rustc per se? The error message is rather unhelpful though.
The relevant CI run: https://github.com/rust-analyzer/rust-analyzer/runs/2649419225?check_suite_focus=true#step:5:330
The text was updated successfully, but these errors were encountered: