fix: make LocalWake available in targets that don't support atomics by removing a #[cfg(target_has_atomic = ptr)]

This commit is contained in:
Tomás Vallotton 2023-12-06 15:19:24 -03:00
parent 403718b19d
commit 2012d4b703
3 changed files with 14 additions and 10 deletions

View file

@ -254,7 +254,7 @@ pub mod str;
pub mod string;
#[cfg(all(not(no_rc), not(no_sync), target_has_atomic = "ptr"))]
pub mod sync;
#[cfg(all(not(no_global_oom_handling), not(no_rc), not(no_sync), target_has_atomic = "ptr"))]
#[cfg(all(not(no_global_oom_handling), not(no_rc), not(no_sync)))]
pub mod task;
#[cfg(test)]
mod tests;