diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-09-09 19:20:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 19:20:38 -0700 |
| commit | 57273d82a8620189d0b9ec213ad909b427177331 (patch) | |
| tree | a7281e460fab336ec774ea4450b3d72a31f655bd /compiler/rustc_codegen_cranelift/example/alloc_example.rs | |
| parent | 468089210c52888c374f32aacaed55a75924af5b (diff) | |
| parent | 02378997ea98b17973a14298a59568700435965d (diff) | |
| download | rust-57273d82a8620189d0b9ec213ad909b427177331.tar.gz rust-57273d82a8620189d0b9ec213ad909b427177331.zip | |
Rollup merge of #130146 - folkertdev:bootstrap-naked-asm, r=Amanieu
bootstrap `naked_asm!` for `compiler-builtins` tracking issue: https://github.com/rust-lang/rust/issues/90957 parent PR: https://github.com/rust-lang/rust/pull/128651 in this PR, `naked_asm!` is added as an alias for `asm!` with one difference: `options(noreturn)` is always enabled by `naked_asm!`. That makes it future-compatible for when `naked_asm!` starts disallowing `options(noreturn)` later. The `naked_asm!` macro must be introduced first so that we can upgrade `compiler-builtins` to use it, and can then change the implementation of `naked_asm!` in https://github.com/rust-lang/rust/pull/128651 I've added some usages for `naked_asm!` in the tests, so we can be confident that it works, but I've left upgrading the whole test suite to the parent PR. r? ``@Amanieu``
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
