Skip to content

Commit 3a562c6

Browse files
committed
asm: Add att_syntax and raw options
As reported in issue cloud-hypervisor#143, recent nightly rustc fails to compile the assembly file because it uses AT&T syntax. It is also suggested that use raw option when using `include_str!` macro. https://rust-lang.github.io/rfcs/2873-inline-asm.html#options-1 rust-lang/rust#86599 Signed-off-by: Akira Moroo <[email protected]>
1 parent 00b8fa8 commit 3a562c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/asm/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
global_asm!(include_str!("ram32.s"));
1+
global_asm!(include_str!("ram32.s"), options(att_syntax, raw));

0 commit comments

Comments
 (0)