wasm32-unknown-unknown stuck in infinite loop when compiling fluent-bundle at opt-level=3 #91011
Labels
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-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I failed to reproduce a minimum reproducible example for this bug, but the full steps to reproduce my scenario is found here: https://github.com/traffloat/traffloat/runs/4251506793
(Put simply: clone the repo,
cd client
, runcargo build --target wasm32-unknown-unknown
)Observation: when cargo compiles up to the
fluemt-bundle
crate, rustc keeps running for a few minutes on 100% CPU, using more and more RAM until the OOM killer from the OS stops it.This only happens when I compile without the
--releade
flag. However, pay attention that I setopt-level=3
in the workspace Cargo.toml.Furthermore, this only happens in the build stage with
--target wasm32-unknown-unknown
. This does not happen on x86_64-unknown-linux-gnu.The issue cannot be reproduced by compiling a dummy crate that only includes that dependency.
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: