about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2019-10-30 16:22:29 -0300
committerSantiago Pastorino <spastorino@gmail.com>2019-10-30 16:51:14 -0300
commita6ac22e7e880914826b7b036bcfc6e748a78904d (patch)
tree5f274a8085a0e41b9bc33c1374d920903cb305ea /src/libstd/sys/unix/stack_overflow.rs
parent308c4a620dde80f4b319bd3acbb2ef45cb12efa0 (diff)
downloadrust-a6ac22e7e880914826b7b036bcfc6e748a78904d.tar.gz
rust-a6ac22e7e880914826b7b036bcfc6e748a78904d.zip
Change CrateMetadata's source_map_import_info from RwLock to Once
This field is created lazily on first use and after that is read only.
That's exactly what Once is for.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions