You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the implicit concatenation syntax (like in GCC) isn't supported by rustc or maybe LLVM.
In this case, the compiler should error. (Maybe this is just a problem with the asm! macro? If it is even a macro?)
Full example: on x86_64-linux run rustc hello.rs, hello.rs:
Expected behaviour: compiler error about invalid instruction "asdflolnop", or compiler error about "invalid asm concat syntax, please give a single string"
Actual behaviour: compiles to just a NOP (afaics)
The text was updated successfully, but these errors were encountered:
It looks like the implicit concatenation syntax (like in GCC) isn't supported by rustc or maybe LLVM.
In this case, the compiler should error. (Maybe this is just a problem with the asm! macro? If it is even a macro?)
Full example: on x86_64-linux run
rustc hello.rs
, hello.rs:Expected behaviour: compiler error about invalid instruction "asdflolnop", or compiler error about "invalid asm concat syntax, please give a single string"
Actual behaviour: compiles to just a NOP (afaics)
The text was updated successfully, but these errors were encountered: