From f5f321732d80a127534676559047dd94f7471449 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Sat, 17 Feb 2024 17:06:47 +0000 Subject: [PATCH] Cleanup unused build config --- backend/Cargo.toml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 897eca9..a2b50dd 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -26,12 +26,7 @@ contour = "0.12.0" rstar = "0.11.0" web-time = "1.0.0" -# For local development. wasm-opt costs about 40s and appears to have no difference at runtime! -[package.metadata.wasm-pack.profile.profiling] -wasm-opt = false - -# Even faster local development. Compile dependencies optimized once, but -# incrementally rebuild this crate super quickly. Runtime performance is still -# usable for the current tests, but noticeably slower. +# For local development, build dependencies in release mode once, but otherwise +# use dev profile and avoid wasm-opt. [profile.dev.package."*"] opt-level = 3