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 a0c1a29 commit 588c630Copy full SHA for 588c630
src/global_asm.rs
@@ -202,6 +202,9 @@ pub(crate) fn compile_global_asm(
202
return Err(format!("Failed to assemble `{}`", global_asm));
203
}
204
} else {
205
+ // Escape { and }
206
+ let global_asm = global_asm.replace('{', "{{").replace('}', "}}");
207
+
208
let mut child = Command::new(std::env::current_exe().unwrap())
209
// Avoid a warning about the jobserver fd not being passed
210
.env_remove("CARGO_MAKEFLAGS")
0 commit comments