You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `efi_rng` | UEFI | `*-unknown‑uefi` | [`EFI_RNG_PROTOCOL`] with `EFI_RNG_ALGORITHM_RAW` (requires `std` and Nigthly compiler)
89
89
| `custom` | All targets | `*` | User-provided custom implementation (see [custom backend])
90
-
| `runtime_error` | All targets | `*` | Errors when providing randomness. Useful when only needing this crate to compile in wasm32, but it's not actually used.
90
+
| `unsupported`| All targets | `*` | Always returns `Err(Error::UNSUPPORTED)` (see [unsupported backend])
91
91
92
92
Opt-in backends can be enabled using the `getrandom_backend` configuration flag.
93
93
The flag can be set either by specifying the `rustflags` field in [`.cargo/config.toml`]:
0 commit comments