Reenable some tests on "apple" targets (#16264)

Those tests appear to be passing on "apple" targets as well.

changelog: none
This commit is contained in:
llogiq 2025-12-19 10:06:33 +00:00 committed by GitHub
commit 533cbc57ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 3 additions and 7 deletions

View file

@ -1,6 +1,6 @@
//@ check-pass
//@compile-flags: -Clink-arg=-nostartfiles
//@ignore-target: apple windows
//@ignore-target: windows
#![crate_type = "lib"]
#![no_std]

View file

@ -1,5 +1,3 @@
//@ignore-target: apple
#![feature(no_core, lang_items)]
#![no_core]
#![allow(clippy::missing_safety_doc)]

View file

@ -1,5 +1,5 @@
error: methods called `as_*` usually take `self` by reference or `self` by mutable reference
--> tests/ui/def_id_nocore.rs:33:19
--> tests/ui/def_id_nocore.rs:31:19
|
LL | pub fn as_ref(self) -> &'static str {
| ^^^^

View file

@ -1,6 +1,4 @@
//@compile-flags: -Clink-arg=-nostartfiles
//@ignore-target: apple
#![warn(clippy::empty_loop)]
#![crate_type = "lib"]
#![no_std]

View file

@ -1,5 +1,5 @@
error: empty `loop {}` wastes CPU cycles
--> tests/ui/empty_loop_no_std.rs:10:5
--> tests/ui/empty_loop_no_std.rs:8:5
|
LL | loop {}
| ^^^^^^^