diff options
| author | Trevor Gross <tmgross@umich.edu> | 2023-09-11 08:49:57 -0400 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2023-09-11 14:11:37 -0400 |
| commit | 207b6091d4d25db310a28f0f6bc6db50368dd00b (patch) | |
| tree | 9b5d7d853cd886a4385871e98cd13f86544cbcb3 /compiler/rustc_mir_transform/src | |
| parent | 5d62ab8981b15b0e12c7583890ae27c7e8ed87fc (diff) | |
| download | rust-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
