mirror of
https://github.com/G2-Games/cross-usb.git
synced 2025-04-19 05:12:53 -05:00
Update README.md
This commit is contained in:
parent
fdd88a75f5
commit
9790653260
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue