Since some time I am modifying the rust ebuild to allow the posibility to link with llvm-libunwind instead of gcc_s when compiling rust with clang/libcxx/compiler-rt combination. I've spotted no problems over at least 3 version so I'm sharing it here seeking it to be included mainstream. Will attach the ebuild diff since it needs only little changes. Reproducible: Always
Created attachment 766223 [details, diff] rust-1.59.0 diff This is the diff for rust 1.59.0 enabling optional llvm-libunwind
Let's discuss in bug 733242 but worth looking at https://github.com/gentoo/gentoo/pull/22221. *** This bug has been marked as a duplicate of bug 733242 ***