stabilize naked_functions

This commit is contained in:
Folkert de Vries 2024-12-18 22:05:27 +01:00
parent 49e5e4e3a5
commit df8a3d5f1d
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
53 changed files with 165 additions and 294 deletions

View file

@ -4,7 +4,7 @@
//@ only-aarch64
#![crate_type = "lib"]
#![feature(naked_functions)]
use std::arch::naked_asm;
// The problem at hand: Rust has adopted a fairly strict meaning for "naked functions",

View file

@ -9,7 +9,7 @@
//@[aix] needs-llvm-components: powerpc
#![crate_type = "lib"]
#![feature(no_core, naked_functions, asm_experimental_arch, f128, linkage, fn_align)]
#![feature(no_core, asm_experimental_arch, f128, linkage, fn_align)]
#![no_core]
// tests that naked functions work for the `powerpc64-ibm-aix` target.

View file

@ -9,7 +9,7 @@
//@ [wasm32-wasip1] needs-llvm-components: webassembly
#![crate_type = "lib"]
#![feature(no_core, naked_functions, asm_experimental_arch, f128, linkage, fn_align)]
#![feature(no_core, asm_experimental_arch, f128, linkage, fn_align)]
#![no_core]
extern crate minicore;

View file

@ -4,7 +4,7 @@
//@ only-x86_64
#![crate_type = "lib"]
#![feature(naked_functions)]
use std::arch::naked_asm;
// The problem at hand: Rust has adopted a fairly strict meaning for "naked functions",