From d19314fe3aad19af7809cd1800479de4f28f5d62 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Wed, 13 Jan 2021 07:14:35 +1300 Subject: [PATCH] Fix the wasm build (#2919) --- samples/wasm/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/wasm/Cargo.toml b/samples/wasm/Cargo.toml index 90230b50b..7f7d8ea96 100644 --- a/samples/wasm/Cargo.toml +++ b/samples/wasm/Cargo.toml @@ -12,6 +12,7 @@ default = ["console_error_panic_hook"] [dependencies] wasm-bindgen = "0.2.63" +getrandom = { version = "0.2.1", features = ["js"] } # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires