From 52cb81e75e473e20c46d997a083263187195e587 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 31 Dec 2023 11:25:31 -0500 Subject: [PATCH] Cleanup. --- Cargo.toml | 1 + Makefile | 4 ---- src/lib.rs | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7012c621..8e4be935 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,7 @@ path = "src/lib.rs" required-features = ["wasm"] [[bin]] + # This bin exists for development purposes only. The real target of this crate is the library. name = "wasm_test" path = "src/bin_wasm_test.rs" required-features = ["wasm_test"] diff --git a/Makefile b/Makefile index cece6810..5261f416 100644 --- a/Makefile +++ b/Makefile @@ -34,10 +34,6 @@ wasm: > cargo build --target=wasm32-unknown-unknown --profile wasm --bin wasm --features wasm > wasm-bindgen --target web --out-dir target/wasm32-unknown-unknown/js target/wasm32-unknown-unknown/wasm/wasm.wasm -.PHONY: run_wasm -run_wasm: -> cat /tmp/test.org | cargo run --profile wasm --bin wasm_test --features wasm_test - .PHONY: clean clean: > cargo clean diff --git a/src/lib.rs b/src/lib.rs index bda2de7a..214e9430 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,6 @@ extern crate test; -// TODO: I only include compare to use some shared stuff like sexp and DiffResult. Ideally, this would be moved to a shared module. #[cfg(feature = "compare")] pub mod compare; #[cfg(any(feature = "compare", feature = "wasm", feature = "wasm_test"))]