Fix escaping of the wasm file path (#6018)

* Fix escaping of the wasm file path

* Add separate methods for escaped paths
This commit is contained in:
Demi Obenour
2020-05-13 22:55:24 +00:00
committed by GitHub
parent fa4d3f2f0a
commit d34a0f4e22
2 changed files with 12 additions and 7 deletions
+2 -2
View File
@@ -166,8 +166,8 @@ pub fn build_project_with_default_rustflags(
pub const WASM_BINARY: &[u8] = include_bytes!("{wasm_binary}");
pub const WASM_BINARY_BLOATY: &[u8] = include_bytes!("{wasm_binary_bloaty}");
"#,
wasm_binary = wasm_binary.wasm_binary_path(),
wasm_binary_bloaty = bloaty.wasm_binary_bloaty_path(),
wasm_binary = wasm_binary.wasm_binary_path_escaped(),
wasm_binary_bloaty = bloaty.wasm_binary_bloaty_path_escaped(),
),
);
}