Add more from the std

This commit is contained in:
2026-03-18 14:59:16 +01:00
parent 9413fba265
commit 51780b3a78
35 changed files with 9176 additions and 1270 deletions

View File

@@ -11,7 +11,7 @@ use crate::mem::{ManuallyDrop, MaybeUninit};
use alloc_crate::sync::Arc;
use crate::sync::atomic::{Atomic, AtomicUsize, Ordering};
use crate::sys::{AsInner, IntoInner, thread as imp};
use crate::{env, io};use core::panic;
use crate::{env, io, panic};
#[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
pub(super) unsafe fn spawn_unchecked<'scope, F, T>(