rust-lang / cc-rs

Rust library for build scripts to compile C/C++ code into a Rust library
https://docs.rs/cc
Apache License 2.0
1.81k stars 434 forks source link

warning: rustc_llvm@0.0.0: Compiler version doesn't include clang or GCC: "c++" "--version" #1003

Closed bjorn3 closed 6 months ago

bjorn3 commented 6 months ago

This happens when compiling rustc on Ubuntu 22.04. c++ --version shows:

c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
NobodyXu commented 6 months ago

1000 should fix this, it's awaiting review

NobodyXu commented 6 months ago

Also I think this is dup of #958

bjorn3 commented 6 months ago

Also I think this is dup of #958

It is. Didn't see that issue.