rust/library/std/src
Jubilee 037c62a196
Rollup merge of #124788 - madsmtm:reduce-target_os-macos, r=workingjubilee
Convert instances of `target_os = "macos"` to `target_vendor = "apple"`

https://github.com/rust-lang/rust/pull/124491 migrated towards using `target_vendor = "apple"` more, as there's very little difference between iOS, tvOS, watchOS and visionOS. In that PR, I only did the changes where the standard library already had fixes for iOS, that I could confidently apply to the other targets.

However, there's actually also not that big of a gap between macOS and the aforementioned platforms - so in this PR, I've gone through a few of the instances of `target_os = "macos"` and replaced it with `target_vendor = "apple"` to improve support on those platforms, see the commits for details.

r? workingjubilee

CC `@thomcc` `@simlay` (do tell me if I should stop pinging you on these Apple PRs)

`@rustbot` label O-apple
2024-05-08 00:37:10 -07:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections Rollup merge of #122201 - coolreader18:doc-clone_from, r=dtolnay 2024-04-17 18:01:37 +02:00
env remove redundant imports 2023-12-10 10:56:22 +08:00
error
f16 Add basic f16 and f128 modules 2024-04-10 13:50:27 -04:00
f32
f64
f128 Add basic f16 and f128 modules 2024-04-10 13:50:27 -04:00
ffi PathBuf: replace transmuting by accessor functions 2024-04-26 18:09:09 +02:00
fs Use `target_vendor = "apple"` instead of `target_os = "..."` 2024-04-28 18:22:37 +02:00
hash update version placeholders 2023-12-22 11:01:42 +01:00
io Rollup merge of #122441 - a1phyr:improve_read_impls, r=ChrisDenton 2024-05-04 18:36:37 +02:00
net SeqCst->Relaxed in std::net::test. 2024-03-20 15:35:13 +01:00
num removed nonfunctioning benchmark 2024-01-11 11:30:12 -05:00
os iOS/tvOS/watchOS/visionOS: Default to kernel-defined backlog in listen 2024-05-06 04:22:23 +02:00
panic
path remove redundant imports 2023-12-10 10:56:22 +08:00
prelude Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
process
sync remove an unused type from the reentrant lock tests 2024-04-22 19:36:21 +02:00
sys Rollup merge of #124788 - madsmtm:reduce-target_os-macos, r=workingjubilee 2024-05-08 00:37:10 -07:00
sys_common std: move thread parking to `sys::sync` 2024-05-02 12:38:26 +02:00
thread Rollup merge of #124159 - joboet:move_pal_thread_parking, r=ChrisDenton 2024-05-04 12:37:21 +02:00
time
alloc.rs default_alloc_error_hook: explain difference to default __rdl_oom in alloc 2024-05-03 19:12:33 +02:00
ascii.rs
backtrace.rs rename ptr::invalid -> ptr::without_provenance 2024-02-21 20:15:52 +01:00
env.rs Remove doc aliases to PATH 2024-02-29 14:28:47 -05:00
error.rs Clean dead codes 2023-11-26 09:25:07 +08:00
f16.rs Add basic f16 and f128 modules 2024-04-10 13:50:27 -04:00
f32.rs variable-precision float operations behave non-deterministically 2024-05-02 18:57:30 +02:00
f64.rs variable-precision float operations behave non-deterministically 2024-05-02 18:57:30 +02:00
f128.rs Add basic f16 and f128 modules 2024-04-10 13:50:27 -04:00
fs.rs Rollup merge of #124782 - anatawa12:docs-create-new-already-exists, r=workingjubilee 2024-05-08 00:37:10 -07:00
keyword_docs.rs Mention labelled blocks in `break` docs 2024-03-15 10:51:57 -07:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
macros.rs added column number to dbg!() 2023-12-12 18:12:23 +08:00
num.rs Replace version placeholders for 1.79 2024-05-01 21:01:51 -04:00
panic.rs catch_panic: warn about panicking payload drop 2024-03-31 11:54:16 +02:00
panicking.rs when suggesting RUST_BACKTRACE=1, add a special note for Miri's env var isolation 2024-04-18 12:05:08 +02:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs Replace version placeholders for 1.79 2024-05-01 21:01:51 -04:00
process.rs Rollup merge of #122441 - a1phyr:improve_read_impls, r=ChrisDenton 2024-05-04 18:36:37 +02:00
rt.rs Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...` 2024-05-02 19:48:29 +02:00
time.rs Rust is a proper name: rust → Rust 2024-03-07 07:49:22 +01:00