From 9790653260c95d36d2a380f08f4d1aae5b1037fb Mon Sep 17 00:00:00 2001 From: G2 Date: Sat, 6 Jul 2024 02:03:51 -0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df3f225..74afca2 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A USB library which works seamlessly across most native and WASM targets. > [mdn web docs](https://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API) > [!IMPORTANT] -> When compiling this crate on a WASM target, you must use either +> When compiling this crate on a WASM target, you must use either the rustflags > `RUSTFLAGS=--cfg=web_sys_unstable_apis` or by passing the argument in a > `.cargo/config.toml` file. Read more here: https://rustwasm.github.io/wasm-bindgen/web-sys/unstable-apis.html