From 3109c5b5be5f10e983dc7fbc3507129d1bda7880 Mon Sep 17 00:00:00 2001 From: RTTV Date: Tue, 19 Mar 2024 15:23:32 -0400 Subject: [PATCH] whoops --- Cargo.toml | 2 +- src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d3ff7ad..9b94836 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/RealRTTV/nbtworkbench" keywords = ["nbt", "window", "unsafe", "editor", "tree"] categories = ["graphics", "rendering", "text-editors", "parser-implementations"] -[target.'cfg(target_arch = "wasm32")'.lib] +[lib] crate-type = ["cdylib", "rlib"] path = "src/main.rs" diff --git a/src/main.rs b/src/main.rs index a833297..9dd8e6b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,6 +92,7 @@ mod workbench_action; mod element_action; mod search_box; mod text; +#[cfg(not(target_arch = "wasm32"))] mod cli; #[macro_export]