about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-06 05:52:07 +0000
committerbors <bors@rust-lang.org>2023-10-06 05:52:07 +0000
commitf9003c08ab2e5d331ebd9285cc3a205d0b4c956c (patch)
tree4bff245df198263fbb25ef452ac196aefc5dbb7f /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent1a6ab015d00e36b974ef8bbde0e3b054e96b1e2d (diff)
parentdff7d5aa2f041f833901318ab8d301aeeb8ef06c (diff)
downloadrust-f9003c08ab2e5d331ebd9285cc3a205d0b4c956c.tar.gz
rust-f9003c08ab2e5d331ebd9285cc3a205d0b4c956c.zip
Auto merge of #3098 - BlackHoleFox:apple-entropy, r=RalfJung
Support getentropy on macOS as a foreign item

Prior this was always assumed to be accessed via `dlsym` shim, but in `std` I'm attempting to start [unconditionally linking](https://github.com/rust-lang/rust/pull/116319) to `getentropy` on macOS now that Rust's platform version support allows it.

This just moves the main logic of the previous `dlsym` handler into an eval context extension so it can be used via both call paths. The `dlsym` handler is still needed as `getrandom` uses it.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions