about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-02-20 10:49:13 +0100
committerGitHub <noreply@github.com>2020-02-20 10:49:13 +0100
commit5d285dcb220b58a8bdef7304f54bc0d8f184393c (patch)
tree19b3e7c420aa24223fe314bcaea5d4e78b91bb60 /src/libstd/sys/unix/stack_overflow.rs
parentd96951f5543869567e30ab1c63c0ac44d0d74c30 (diff)
parent437f56edf43182955bb099a0d95970d63492196c (diff)
downloadrust-5d285dcb220b58a8bdef7304f54bc0d8f184393c.tar.gz
rust-5d285dcb220b58a8bdef7304f54bc0d8f184393c.zip
Rollup merge of #69266 - Zoxc:fix-source-map-race, r=wesleywiser
Fix race condition when allocating source files in SourceMap

This makes allocating address space in the source map an atomic operation. `rustc` does not currently do this in parallel, so this bug can't trigger, but parsing files in parallel could trigger it, and that is something we want to do.

Fixes https://github.com/rust-lang/rust/issues/69261.

r? @wesleywiser
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions