Update README.md

This commit is contained in:
G2 2024-07-06 02:03:51 -05:00 committed by GitHub
parent fdd88a75f5
commit 9790653260
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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