From 197c3825161f7babfcb095c11fc4d2fb5290a742 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 11 Feb 2024 16:50:31 +0800 Subject: [PATCH] monkey patch getrandom to point to one with Xous support --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5be7f166e6..a5060264d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -195,12 +195,15 @@ libc = { version = "0.2.148", default-features = false } libc = { version = "0.2.80", default-features = false } [target.'cfg(target_os = "xous")'.dependencies] -libc = { version = "0.2.80", default-features = false } +libc = { version = "0.2.153", default-features = false } xous-names = {package = "xous-api-names", version = "0.9"} xous = "0.9" xous-ipc = "0.9" rkyv = {version = "0.4.3", default-features = false, features = ["const_generics"]} +[patch.crates-io.getrandom] +path = "imports/getrandom" + # Keep this in sync with `[dependencies]` in pregenerate_asm/Cargo.toml. [build-dependencies] cc = { version = "1.0.83", default-features = false }