summaryrefslogtreecommitdiff
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
commit3287d8ce618b12304ef91c1dc29cd56a146860fd (patch)
treea4f89e6bf1da1ddeb606d9286f15d1208d753a75
parentd1122ec57022c9ff8b36a65dd7c33d1a68c98103 (diff)
forget to change opt-level to 3
-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