Adding rated mirrors makepkg.conf and rust.conf for x86-x64-v2

This commit is contained in:
2026-10-05 13:38:34 +02:00
parent 972a98b3b8
commit 04e65e38b9
4 changed files with 206 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/hint/bash
# shellcheck disable=2034
#
# /etc/makepkg.conf.d/rust.conf
#
#########################################################################
# RUST LANGUAGE SUPPORT
#########################################################################
# Flags used for the Rust compiler, similar in spirit to CFLAGS. Read
# linkman:rustc[1] for more details on the available flags.
RUSTFLAGS="-C opt-level=2 -C target-cpu=x86-64-v2 -C force-frame-pointers=yes"
# Additional compiler flags appended to `RUSTFLAGS` for use in debugging.
# Usually this would include: ``-C debuginfo=2''. Read linkman:rustc[1] for
# more details on the available flags.
# debuginfo=0 - no debug symbols
DEBUG_RUSTFLAGS="-C debuginfo=0"