You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by wy...@apache.org on 2026/10/14 11:25:13 UTC
(maka) branch rust-preview updated: Prioritize development build speed with opt-level zero
This is an automated email from the ASF dual-hosted git repository.
M4n5ter pushed a commit to branch rust-preview
in repository https://gitbox.apache.org/repos/asf/maka.git
The following commit(s) were added to refs/heads/rust-preview by this push:
new e2e0740a80 Prioritize development build speed with opt-level zero
e2e0740a80 is described below
commit e2e0740a80e9e9c5eeaa68953ccd2fa510b076c3
Author: Wang <m4...@gmail.com>
AuthorDate: Wed Oct 14 19:24:57 2026 +0800
Prioritize development build speed with opt-level zero
---
Cargo.toml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index 6826a07565..c2aaae4abd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -187,9 +187,8 @@ uuid = { version = "1", features = ["v4", "serde"] }
[profile.dev]
# Keep useful backtraces without embedding hundreds of MiB of dependency types.
debug = "line-tables-only"
-# The interactive product hashes packages and composes JSON scenes in Rust.
-# Keep ordinary `cargo run` responsive while retaining debug checks/backtraces.
-opt-level = 1
+# Favor fast development builds; reserve optimization for release builds.
+opt-level = 0
[patch.crates-io]
image-webp = { path = "third-party/image-webp" }
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org