Update target feature tests

This commit is contained in:
WANG Rui 2025-05-09 11:26:08 +08:00
parent 72393a672d
commit 4a662c25dc
2 changed files with 2 additions and 6 deletions

View File

@ -3,9 +3,5 @@ warning: target feature `d` must be enabled to ensure that the ABI of the curren
= note: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344>
warning: unstable feature specified for `-Ctarget-feature`: `d`
|
= note: this feature is not stably supported; its behavior can change in the future
warning: 2 warnings emitted
warning: 1 warning emitted

View File

@ -24,4 +24,4 @@
pub trait Sized {}
//~? WARN must be enabled to ensure that the ABI of the current target can be implemented correctly
//[x86,riscv,loongarch]~? WARN unstable feature specified for `-Ctarget-feature`
//[x86,riscv]~? WARN unstable feature specified for `-Ctarget-feature`