Rollup merge of #135648 - folkertdev:naked-asm-wasm, r=bjorn3

support wasm inline assembly in `naked_asm!`

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

Webassembly was overlooked previously, but now `naked_asm!` and `#[naked]` functions work on the webassembly targets.

Or, they almost do right now. I guess this is no surprise, but the `wasm32-unknown-unknown` target causes me some trouble. I'll add some inline comments with more details.

r? ```````@bjorn3```````

cc ```````@daxpedda,``````` ```````@tgross35```````
This commit is contained in:
Matthias Krüger 2025-01-24 00:15:54 +01:00 committed by GitHub
commit b821f7147c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available