We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dbd306 commit 03bd066Copy full SHA for 03bd066
crates/subspace-wasm-tools/src/lib.rs
@@ -28,8 +28,9 @@ pub fn create_runtime_bundle_inclusion_file(
28
env::var("OUT_DIR").expect("Set by cargo; qed") + "/" + target_file_name;
29
let execution_wasm_bundle_rs_contents = format!(
30
r#"
31
- pub const {bundle_const_name}: &[u8] = include_bytes!("{execution_wasm_bundle_path}");
32
- "#
+ pub const {bundle_const_name}: &[u8] = include_bytes!("{}");
+ "#,
33
+ execution_wasm_bundle_path.escape_default()
34
);
35
36
fs::write(
0 commit comments