summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorSamuel Perrouault <samuel.perrouault@gmail.com>2025-07-23 00:05:12 +0200
committerSamuel Perrouault <samuel.perrouault@gmail.com>2025-07-23 00:05:12 +0200
commitf03fa6fa77a68bff80b65ee69765042076a306c2 (patch)
tree6bbc1ef9ac4efb5f1a8f7f8c3994600069428856 /Cargo.toml
parentab5177eff4b938f080c67a524165462a56d0d352 (diff)
exploring a fully static pathstatic_exe
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 73f1c6d..3793f4e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,3 +4,11 @@ version = "0.1.0"
edition = "2024"
[dependencies]
+rustix = { version = "1.0.8", default-features = false, features = [ "runtime", "stdio" ] }
+
+[profile.dev]
+panic = "abort"
+
+[profile.release]
+lto = true
+panic = "abort"