Enable profiler=true in config.toml and target = [wasm32-unknown-unknown] will cause bootstrap fail #78329
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
I'm trying to build rust with profiler support in Gentoo Linux.
The
config.toml
:And log:
I think
profiler
(and maybesanitizers
) should be an option pre target, not a global option underbuild
section. For example we can enableprofiler
forx86_64-unknown-linux-gnu
and disable it forwasm32-unknown-unknown
.The text was updated successfully, but these errors were encountered: