Skip to content

Commit

Permalink
monkey patch getrandom to point to one with Xous support
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie committed Feb 11, 2024
1 parent 09d9f66 commit 197c382
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 197c382

Please sign in to comment.