diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-10-18 12:00:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-18 12:00:51 +0100 |
| commit | 951c0cd6f35381150b8f967b5e6d48c53c20100f (patch) | |
| tree | f5ce3d80d4f91be790c4f855a5c995b4fb6996e1 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | ebff1679664272ebeda1f2b753ae499d7dee35ee (diff) | |
| parent | e20636a78621d823334f3114d5d49ab8a442dfa3 (diff) | |
| download | rust-951c0cd6f35381150b8f967b5e6d48c53c20100f.tar.gz rust-951c0cd6f35381150b8f967b5e6d48c53c20100f.zip | |
Rollup merge of #131774 - thesummer:rtems-add-getentropy, r=joboet
Add getentropy for RTEMS RTEMS provides the `getentropy` function. Use this for providing random data. This PR enables the `getentropy` function for the RTEMS operating system to get random data. It is exposed via libc (see https://github.com/rust-lang/libc/pull/3975).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
