about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-10 20:28:47 +0200
committerGitHub <noreply@github.com>2025-07-10 20:28:47 +0200
commit9e6af56e12a8ed34f2a51535f26d1de4a4ce7b33 (patch)
tree2c6a4104415f7141aed6f41e4af7430f78b95571 /compiler/rustc_codegen_gcc/example/std_example.rs
parent05c68f30d80f533578aebcc7223917f0b8e7af55 (diff)
parent6fc5d4edda88d0dd28c45ccba1a1e217ddad11c4 (diff)
downloadrust-9e6af56e12a8ed34f2a51535f26d1de4a4ce7b33.tar.gz
rust-9e6af56e12a8ed34f2a51535f26d1de4a4ce7b33.zip
Rollup merge of #143599 - folkertdev:x86-asm-syntax-global-naked-asm, r=Amanieu
emit `.att_syntax` when global/naked asm use that option

fixes https://github.com/rust-lang/rust/issues/143542

LLVM would error when using `-Cllvm-args=-x86-asm-syntax=intel` in combination with global/naked assembly with `att_syntax`. It turns out that for LLVM you do in this case need to emit `.att_syntax`.

r? `@Amanieu`
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions