From 92a61018f1f15f7082bb512e599a54d8aa16a77f Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Wed, 4 Oct 2023 15:33:11 +0200 Subject: [PATCH 1/3] Update broken link to hermit docs Fixes: https://github.com/rust-random/getrandom/issues/373 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index cd8a96020..91bce3ef3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -180,7 +180,7 @@ //! [`module`]: https://rustwasm.github.io/wasm-bindgen/reference/attributes/on-js-imports/module.html //! [CommonJS modules]: https://nodejs.org/api/modules.html //! [ES modules]: https://nodejs.org/api/esm.html -//! [`sys_read_entropy`]: https://hermitcore.github.io/libhermit-rs/hermit/fn.sys_read_entropy.html +//! [`sys_read_entropy`]: https://docs.rs/hermit-abi/0.3.3/hermit_abi/fn.read_entropy.html #![doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png", From 5c6903644a88cb5b21fc68b51a3af95eaa0e1e70 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Thu, 5 Oct 2023 18:26:33 +0300 Subject: [PATCH 2/3] Link Hermit source code --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 91bce3ef3..fbfe72958 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -180,7 +180,7 @@ //! [`module`]: https://rustwasm.github.io/wasm-bindgen/reference/attributes/on-js-imports/module.html //! [CommonJS modules]: https://nodejs.org/api/modules.html //! [ES modules]: https://nodejs.org/api/esm.html -//! [`sys_read_entropy`]: https://docs.rs/hermit-abi/0.3.3/hermit_abi/fn.read_entropy.html +//! [`sys_read_entropy`]: https://github.com/hermit-os/kernel/blob/315f58ff5efc81d9bf0618af85a59963ff55f8b1/src/syscalls/entropy.rs#L47-L55 #![doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png", From c808fdc61228718ff4ae20c036ce36e9f6218b0e Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Thu, 5 Oct 2023 18:27:54 +0300 Subject: [PATCH 3/3] Link Hermit source code