about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2023-09-11 08:49:57 -0400
committerTrevor Gross <tmgross@umich.edu>2023-09-11 14:11:37 -0400
commit207b6091d4d25db310a28f0f6bc6db50368dd00b (patch)
tree9b5d7d853cd886a4385871e98cd13f86544cbcb3 /compiler/rustc_mir_transform/src
parent5d62ab8981b15b0e12c7583890ae27c7e8ed87fc (diff)
downloadrust-207b6091d4d25db310a28f0f6bc6db50368dd00b.tar.gz
rust-207b6091d4d25db310a28f0f6bc6db50368dd00b.zip
Refactor `thread_info` to remove the `RefCell`
`thread_info` currently uses `RefCell`-based initialization. Refactor
this to use `OnceCell` instead which is more performant and better suits
the needs of one-time initialization.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions