diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-11-18 15:46:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-18 15:46:23 +0100 |
| commit | 61134aa54cd70f6d6a540f9ce221310456b683ce (patch) | |
| tree | 214a33171a17877dc612341b1855441b3cc6907b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | c7e9029b8064a48a983040937bae056617729980 (diff) | |
| parent | cd22381daa7f23bf20a739ac35c95ff77921d9a0 (diff) | |
| download | rust-61134aa54cd70f6d6a540f9ce221310456b683ce.tar.gz rust-61134aa54cd70f6d6a540f9ce221310456b683ce.zip | |
Rollup merge of #78785 - cuviper:weak-getrandom, r=m-ou-se
linux: try to use libc getrandom to allow interposition We'll try to use a weak `getrandom` symbol first, because that allows things like `LD_PRELOAD` interposition. For example, perf measurements might want to disable randomness to get reproducible results. If the weak symbol is not found, we fall back to a raw `SYS_getrandom` call.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
