diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2024-09-14 15:26:58 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2024-09-14 16:19:46 -0700 |
commit | d6b617ed9e86f3044173a4d0a5acd63e13472339 (patch) | |
tree | 0389c2dd4c24d4e455d9442260b8d750bb530a41 /etc | |
parent | 17bb743454206c5c2f6eb0fc011cf473508069ed (diff) |
default rust.conf
Diffstat (limited to 'etc')
-rw-r--r-- | etc/makepkg.conf.d/rust.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/makepkg.conf.d/rust.conf b/etc/makepkg.conf.d/rust.conf new file mode 100644 index 00000000..092bf275 --- /dev/null +++ b/etc/makepkg.conf.d/rust.conf @@ -0,0 +1,19 @@ +#!/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="-Cforce-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. +DEBUG_RUSTFLAGS="-C debuginfo=2" |