Building rustc in Clang 9.0 error: invalid argument '-std=c++11' not allowed with 'C' #69222
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-infra
Relevant to the infrastructure team, which will review and decide on the PR/issue.
Hello, I'm trying to build a pure-LLVM Rust (no linking to
libgcc_s.so
at all). Building rust withclang
set ascc
intarget.x86_64-unknown-linux-musl
returns failure since Clang (the C compiler) doesn't allowstd=c++11
.Here's my
config.toml
:Here are the relevant bits of the log:
Thanks.
A complete log is available here:
http://termbin.com/ex3p
The text was updated successfully, but these errors were encountered: