From 2d9f4e34c5be91ff263f76de71e89e6cf09b27d8 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 25 Nov 2026 19:19:31 +0000 Subject: [PATCH] host-wasm: incremental release builds (edit rebuild 6.5 s -> 3 s) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DPL5hiNfjrw2edja7LiRLB --- host-wasm/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/host-wasm/Cargo.toml b/host-wasm/Cargo.toml index 3d776f1..335d492 100644 --- a/host-wasm/Cargo.toml +++ b/host-wasm/Cargo.toml @@ -23,3 +23,7 @@ wasmtime = { version = "50", default-features = false, features = ["component-mo [profile.release] opt-level = 2 +# Recompile only what changed in this crate (dependencies are unaffected): an edit to main.rs or +# raster.rs rebuilds in about 3 s instead of 6.5 s. The cold build is dominated by wasmtime and +# cranelift (about 2 min on 4 cores), which this does not change. +incremental = true