Files
rust/compiler
Jonathan Brouwer 59eda84e03 Rollup merge of #156582 - daxpedda:global-asm-statement, r=petrochenkov
Allow `global_asm!` in statement positions

This PR makes it possible to put `global_asm!` in statement positions. This is particularly useful for proc-macros, where you otherwise have to wrap them in `mod foo { global_asm!(...); }`.

I'm happy to open an ACP first (or a design meeting?).
I would also assume this needs sign-off from the lang-team?

Previously discussed on [Zulip](https://rust-lang.zulipchat.com/#narrow/channel/216763-project-inline-asm/topic/Item.20position.20global_asm/with/581784943).

r? @Amanieu
2026-05-18 17:07:06 +02:00
..
2026-05-07 22:22:56 +09:00
2026-05-04 16:28:58 +00:00
2026-05-04 16:28:58 +00:00
2026-05-07 20:23:37 +03:00
2026-05-13 20:29:15 +00:00
2026-05-11 21:32:42 +02:00
2026-05-16 21:16:35 +10:00
2026-05-12 21:58:50 +02:00
2026-05-11 21:32:42 +02:00
2026-05-12 21:58:50 +02:00
2026-04-08 21:09:07 +02:00
2026-05-12 21:58:50 +02:00