diff --git a/rs_lib/src/lib.rs b/rs_lib/src/lib.rs index 99e46e5..c242024 100644 --- a/rs_lib/src/lib.rs +++ b/rs_lib/src/lib.rs @@ -211,7 +211,7 @@ fn collect_files( let collected: Vec = collector .collect_file_patterns(real_sys, &files) .into_iter() - .map(|path| path.to_string_lossy().to_string()) + .map(|path| sys_traits::impls::wasm_path_to_str(&path).into_owned()) .collect(); debug_log(