diff --git a/Cargo.toml b/Cargo.toml index c5cb4fd..0a23083 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,11 +49,9 @@ resolver = "2" [profile.test] debug = 1 opt-level = 3 -split-debuginfo = "unpacked" [profile.release] strip = true -debug = 1 lto = true codegen-units = 1 overflow-checks = true diff --git a/src/readers/io_testing.rs b/src/readers/io_testing.rs index 1376a5d..cb0b4b0 100644 --- a/src/readers/io_testing.rs +++ b/src/readers/io_testing.rs @@ -107,6 +107,7 @@ mod test { use std::fs; use std::io::Read; use std::path; + #[cfg(not(target_arch = "wasm32"))] #[test] fn test_temporary_text_file() { let path_of_temporary_file; @@ -126,7 +127,7 @@ mod test { // should have been cleaned up. assert!(!path::Path::new(&path_of_temporary_file).exists()) } - + #[cfg(not(target_arch = "wasm32"))] #[test] fn test_string_to_file() { let path_of_test_file = "test.file";