Skip to content

Commit

Permalink
Rollup merge of #110895 - Ayush1325:thread-local-fix, r=thomcc
Browse files Browse the repository at this point in the history
Remove `all` in target_thread_local cfg

I think it was left there by mistake after the previous refactoring. I just came across it while rebasing to master.
  • Loading branch information
Dylan-DPC authored May 2, 2023
2 parents be4f9f5 + be413ae commit f47a63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/common/thread_local/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cfg_if::cfg_if! {
mod static_local;
#[doc(hidden)]
pub use static_local::{Key, thread_local_inner};
} else if #[cfg(all(target_thread_local))] {
} else if #[cfg(target_thread_local)] {
#[doc(hidden)]
mod fast_local;
#[doc(hidden)]
Expand Down

0 comments on commit f47a63c

Please sign in to comment.