Procházet zdrojové kódy

make wasm compile a bit faster

Jonathan Kelley před 6 měsíci
rodič
revize
02b2a12011
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/cli/src/dioxus_crate.rs

+ 1 - 1
packages/cli/src/dioxus_crate.rs

@@ -315,7 +315,7 @@ impl DioxusCrate {
             if let toml_edit::Entry::Vacant(entry) = table.entry(PROFILE_WASM) {
                 let mut client = toml_edit::Table::new();
                 client.insert("inherits", Item::Value("dev".into()));
-                client.insert("opt-level", Item::Value(2.into()));
+                client.insert("opt-level", Item::Value(1.into()));
                 entry.insert(Item::Table(client));
             }