about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-21 12:27:33 +0000
committerbors <bors@rust-lang.org>2024-02-21 12:27:33 +0000
commit596dd65cfa1d5f1a55a9a68d7f45bda436e3055d (patch)
tree8c33fef28875c53abcb8f5d32fe9c478ed6d945b /compiler/rustc_codegen_llvm/src
parent99df70896b0bce7ab9d4695419e2804d5ad6a10a (diff)
parentaa99d954faae0446664f82b0c3c597664845ca90 (diff)
downloadrust-596dd65cfa1d5f1a55a9a68d7f45bda436e3055d.tar.gz
rust-596dd65cfa1d5f1a55a9a68d7f45bda436e3055d.zip
Auto merge of #3309 - ChrisDenton:windows-rand, r=RalfJung
Test windows random shims

This adds tests for `BCryptGenRandom` and `RtlGenRandom` (aka `SystemFunction036`). Note that `BCryptGenRandom` comes in two flavours:

```rust
BCryptGenRandom(null_mut(), key.as_mut_ptr(), len, BCRYPT_USE_SYSTEM_PREFERRED_RNG)
BCryptGenRandom(BCRYPT_RNG_ALG_HANDLE, key.as_mut_ptr(), len, 0)
```

Fixes #3308
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions