summaryrefslogtreecommitdiff
path: root/etc/makepkg.conf.d/rust.conf
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-09-14 16:39:06 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-09-14 16:40:18 -0700
commita928e8bd313ad479820bcb5ff71aa67c8060d505 (patch)
tree96282261822bd15086f9b46626b5bf3de846ccab /etc/makepkg.conf.d/rust.conf
parent04159c6a98f1b1c514033454b2f29a88a4a0d792 (diff)
forget to change opt-level to 3
Diffstat (limited to 'etc/makepkg.conf.d/rust.conf')
-rw-r--r--etc/makepkg.conf.d/rust.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/makepkg.conf.d/rust.conf b/etc/makepkg.conf.d/rust.conf
index fc881521..b6d6f5fa 100644
--- a/etc/makepkg.conf.d/rust.conf
+++ b/etc/makepkg.conf.d/rust.conf
@@ -11,7 +11,7 @@
# 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=2 -C target-cpu=native"
+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