File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ Unreleased]
8
+ - Added x86_64-unknown-hermit support [ #236 ]
9
+
10
+ [ #236 ] : https://github.com/rust-random/getrandom/pull/236
11
+
7
12
## [ 0.2.3] - 2021-04-10
8
13
### Changed
9
14
- Replace build.rs with link attributes. [ #205 ]
Original file line number Diff line number Diff line change 24
24
//! | Fuchsia OS | `*‑fuchsia` | [`cprng_draw`][11]
25
25
//! | Redox | `*‑redox` | [`/dev/urandom`][12]
26
26
//! | Haiku | `*‑haiku` | `/dev/random` (identical to `/dev/urandom`)
27
+ //! | Hermit | `x86_64-*-hermit` | [`RDRAND`][18]
27
28
//! | SGX | `x86_64‑*‑sgx` | [RDRAND][18]
28
29
//! | VxWorks | `*‑wrs‑vxworks‑*` | `randABytes` after checking entropy pool initialization with `randSecure`
29
30
//! | Emscripten | `*‑emscripten` | `/dev/random` (identical to `/dev/urandom`)
@@ -200,6 +201,8 @@ cfg_if! {
200
201
#[ path = "openbsd.rs" ] mod imp;
201
202
} else if #[ cfg( target_os = "wasi" ) ] {
202
203
#[ path = "wasi.rs" ] mod imp;
204
+ } else if #[ cfg( all( target_arch = "x86_64" , target_os = "hermit" ) ) ] {
205
+ #[ path = "rdrand.rs" ] mod imp;
203
206
} else if #[ cfg( target_os = "vxworks" ) ] {
204
207
mod util_libc;
205
208
#[ path = "vxworks.rs" ] mod imp;
You can’t perform that action at this time.
0 commit comments