Cleanup.
All checks were successful
clippy Build clippy has succeeded
rust-foreign-document-test Build rust-foreign-document-test has succeeded
rust-build Build rust-build has succeeded
rust-test Build rust-test has succeeded

This commit is contained in:
Tom Alexander 2023-12-31 11:25:31 -05:00
parent 945121202d
commit 52cb81e75e
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 1 additions and 5 deletions

View File

@ -45,6 +45,7 @@ path = "src/lib.rs"
required-features = ["wasm"] required-features = ["wasm"]
[[bin]] [[bin]]
# This bin exists for development purposes only. The real target of this crate is the library.
name = "wasm_test" name = "wasm_test"
path = "src/bin_wasm_test.rs" path = "src/bin_wasm_test.rs"
required-features = ["wasm_test"] required-features = ["wasm_test"]

View File

@ -34,10 +34,6 @@ wasm:
> cargo build --target=wasm32-unknown-unknown --profile wasm --bin wasm --features 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 > 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 .PHONY: clean
clean: clean:
> cargo clean > cargo clean

View File

@ -9,7 +9,6 @@
extern crate test; 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")] #[cfg(feature = "compare")]
pub mod compare; pub mod compare;
#[cfg(any(feature = "compare", feature = "wasm", feature = "wasm_test"))] #[cfg(any(feature = "compare", feature = "wasm", feature = "wasm_test"))]