Skip to content

Commit

Permalink
Remove __getrandom_custom for web target
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Mar 11, 2024
1 parent 9709b00 commit e70042e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
12 changes: 7 additions & 5 deletions sidevm-quickjs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion sidevm-quickjs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ js-http-listen = []
js-hash = ["sha2", "sha3", "blake2"]

sidevm = []
web = ["js-sys", "web-sys", "wasm-bindgen", "wasm-bindgen-futures", "reqwest"]
web = [
"js-sys",
"web-sys",
"wasm-bindgen",
"wasm-bindgen-futures",
"reqwest",
"riscvm?/web"
]
mem-stats = ["phala-allocator", "js/pink-allocator"]

native = [
Expand Down

0 comments on commit e70042e

Please sign in to comment.