diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-05-10 11:35:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-10 11:35:24 -0500 |
| commit | 4199a6c1ee42bb4b4f88fa3055ffd32bde99f673 (patch) | |
| tree | 4b6f4c34ca9e2b1dd90066a006251f0110165fa1 /src/rustllvm/RustWrapper.cpp | |
| parent | 296f9524f2a27458607529db3f785dc732d79136 (diff) | |
| parent | 4537025c7193b4f1412807ab15f723f51ff0b01e (diff) | |
| download | rust-4199a6c1ee42bb4b4f88fa3055ffd32bde99f673.tar.gz rust-4199a6c1ee42bb4b4f88fa3055ffd32bde99f673.zip | |
Rollup merge of #50538 - michaelwoerister:atomic-cnums, r=Zoxc
Make CrateNum allocation more thread-safe. This PR makes sure that we can't have race conditions when assigning CrateNums. It's a slight improvement but a larger refactoring of the CrateStore/CrateLoader infrastructure would be good, I think. r? @Zoxc
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
