Skip to content

Commit

Permalink
Auto merge of #102783 - RalfJung:tls, r=thomcc
Browse files Browse the repository at this point in the history
sync thread_local key conditions exactly with what the macro uses

This makes the `cfg` in `mod.rs` syntactically the same as those in `local.rs`.

I don't think this should actually change anything, but seems better to be consistent?
I looked into this due to rust-lang/rust#102549, but this PR would make it *less* likely that `__OsLocalKeyInner` is going to get provided, so this cannot help with that issue.

r? `@thomcc`
  • Loading branch information
bors committed Oct 14, 2022
2 parents 80f5707 + aac20e3 commit 2f1ca05
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 2f1ca05

Please sign in to comment.