diff --git a/Cargo.toml b/Cargo.toml index 7012c62..8e4be93 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 cece681..5261f41 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 bda2de7..214e943 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"))]