aboutsummaryrefslogtreecommitdiffstats
path: root/halt/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'halt/Cargo.toml')
-rw-r--r--halt/Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/halt/Cargo.toml b/halt/Cargo.toml
index 160a513..14c75e0 100644
--- a/halt/Cargo.toml
+++ b/halt/Cargo.toml
@@ -4,6 +4,10 @@ version = "0.1.0"
authors = ["Gustav Sörnäs <gustav@sornas.net>"]
edition = "2018"
+[lib]
+name = "halt"
+crate-type = ["staticlib"]
+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
@@ -11,6 +15,7 @@ panic = "abort"
[profile.release]
panic = "abort"
+lto = true
[dependencies.libc]
version = "0.2"