commit:     9e38708993c9481291726a1bead4e396799b9dba
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 00:54:11 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 00:55:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e387089

profiles/features/clang: add links for libcxx Rust variables

Bug: https://bugs.gentoo.org/732632
Bug: https://bugs.gentoo.org/870280
See: 3fa47c76138a86a5d29d30230c0afc1946d46d5b
Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/features/clang/make.defaults | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/features/clang/make.defaults 
b/profiles/features/clang/make.defaults
index 64627a72aa3e..77b32d47a3c2 100644
--- a/profiles/features/clang/make.defaults
+++ b/profiles/features/clang/make.defaults
@@ -41,7 +41,10 @@ READELF="llvm-readelf"
 ADDR2LINE="llvm-addr2line"
 
 # Rust needs this to build some crates (like uutils)
+# https://github.com/rust-lang/rust/blob/master/compiler/rustc_llvm/build.rs
 LLVM_USE_LIBCXX=1
+# https://github.com/rust-lang/cc-rs#c-support
+# https://github.com/rust-lang/cc-rs/blob/main/src/lib.rs
 CXXSTDLIB="c++"
 
 # bootstrap USE for stage1

Reply via email to