Merge w/pacman 7's makepkg.conf

This commit is contained in:
2024-09-15 14:30:00 -04:00
parent d2912d2e70
commit a33e638f33
4 changed files with 35 additions and 12 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/hint/bash
#
# /etc/makepkg.conf.d/rust.conf - rwinkhart/artix-install-script 09/15/2024
#
#########################################################################
# 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="-Cforce-frame-pointers=yes -C opt-level=3 -C target-cpu=native"
# 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.
DEBUG_RUSTFLAGS="-C debuginfo=2"