summaryrefslogtreecommitdiff
path: root/.cargo/Config.toml
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/Config.toml')
-rw-r--r--.cargo/Config.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.cargo/Config.toml b/.cargo/Config.toml
new file mode 100644
index 0000000..32e1bdc
--- /dev/null
+++ b/.cargo/Config.toml
@@ -0,0 +1,16 @@
+[profile.small]
+opt-level = "z"
+inherits = "release"
+
+[profile.bm]
+lto = true
+inherits = "dev"
+
+[profile.release]
+lto = true
+strip = true
+codegen-units = 1
+panic = "abort"
+
+[profile.dev]
+opt-level = 1