From 4858450262dd2735f62f5c51c27c9428ab94ed3a Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Thu, 25 Sep 2025 07:48:23 +0300 Subject: [PATCH] fix webassembly support for getrandom, on native targets --- .cargo/config.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..cb9ecf9 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.wasm32-unknown-unknown] +rustflags = ['--cfg', 'getrandom_backend="wasm_js"'] \ No newline at end of file