Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Create dev-small build profile (#18612)

Andrey Mishchenko80aecc22cd99
diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml
index d10716ce4f..b1a8ae000a 100644
--- a/codex-rs/Cargo.toml
+++ b/codex-rs/Cargo.toml
@@ -425,6 +425,12 @@ ignored = [
"codex-v8-poc",
]
+[profile.dev-small]
+inherits = "dev"
+opt-level = 0
+debug = 0
+strip = true
+
[profile.release]
lto = "fat"
split-debuginfo = "off"