I'm not sure if I'm doing something wrong. On wgpu/;wasm32-unknown-unknown, I get very fast incremental builds.
On wtgpu/x86_64, I'm getting 20 sec + incremental builds.
Is this normal, or am I doing something stupid ?
I'm not sure if I'm doing something wrong. On wgpu/;wasm32-unknown-unknown, I get very fast incremental builds.
On wtgpu/x86_64, I'm getting 20 sec + incremental builds.
Is this normal, or am I doing something stupid ?
What feels wrong to me. Could you pass -Ztime-passes
to rustc when compiling? That will give a (high level) overview of what takes so much time. You can use cargo rustc -- -Ztime-passes
instead of cargo build
to pass it to just the main crate rather than all dependencies like RUSTFLAGS
would.
Good call. Was misconfigured lto / opt-level issue.