You are not logged in.
Hi,
I wanted to build rust aplications from AUR with clang. I put this to my makepkg.conf.
CARGO_PROFILE_RELEASE_LTO="thin"
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang
RUSTFLAGS="-C opt-level=3 -C target-cpu=native -C linker-plugin-lto -C link-arg=-flto -C link-arg=-fuse-ld=lld"
But if I check apps, I see only gcc.
readelf -p .comment /usr/bin/garbage
String dump of section '.comment':
[ 0] GCC: (GNU) 11.2.0
[ 12] Linker: LLD 13.0.1
Offline
building rust applications without using some parts of gcc may be impossible until https://github.com/rust-lang/rust/issues/72241 is solved.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline