about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorAndrew Brown <andrew.brown@intel.com>2022-09-29 11:17:15 -0700
committerAndrew Brown <andrew.brown@intel.com>2022-10-10 09:01:42 -0700
commit9530ba0fe2118d9a60e16861faad29ec5803d3f9 (patch)
tree167a9919b64cd8dabad62f7c202d4da656a9a85e /compiler/rustc_hir_analysis/src/structured_errors.rs
parentda638b3a9f32974c41439be6834670d7a438faa3 (diff)
downloadrust-9530ba0fe2118d9a60e16861faad29ec5803d3f9.tar.gz
rust-9530ba0fe2118d9a60e16861faad29ec5803d3f9.zip
Implement `env_lock` with `RwLock`
Copying the approach of the Unix target, this change uses the standard
`RwLock` to protect against concurrent access of libc's environment.
This locking is only enabled when WebAssembly's `atomics` feature is
also enabled.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions