From 35fe68e024a69ca9f3d63244caeccc740ffede44 Mon Sep 17 00:00:00 2001 From: morenol <22335041+morenol@users.noreply.github.com> Date: Thu, 3 Nov 2022 13:48:16 -0500 Subject: [PATCH] Fix CI (#227) * Update ci.yml Co-authored-by: Luis Moreno --- Cargo.toml | 2 -- src/readers/io_testing.rs | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) 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";