Doc update
Some checks failed
CI / rustfmt (push) Failing after 16s
CI / wasm build (push) Successful in 1m17s
CI / clippy (push) Failing after 1m27s
CI / example (push) Successful in 1m29s
CI / test (push) Successful in 1m47s
CI / duplicate code (push) Failing after 30s
CI / web client (push) Failing after 30s
CI / cargo-machete (push) Successful in 1m7s
CI / cargo-deny (push) Failing after 2m20s
Some checks failed
CI / rustfmt (push) Failing after 16s
CI / wasm build (push) Successful in 1m17s
CI / clippy (push) Failing after 1m27s
CI / example (push) Successful in 1m29s
CI / test (push) Successful in 1m47s
CI / duplicate code (push) Failing after 30s
CI / web client (push) Failing after 30s
CI / cargo-machete (push) Successful in 1m7s
CI / cargo-deny (push) Failing after 2m20s
This commit is contained in:
parent
41528ef717
commit
15cc1d4c5e
3 changed files with 38 additions and 23 deletions
10
.cargo/config.toml
Normal file
10
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[env]
|
||||
MTP_TYPE_MAPS = { value = "example-type-maps.yaml", relative = true }
|
||||
|
||||
# web-sys's WebTransport* bindings are behind unstable APIs, gated by this cfg.
|
||||
# Scoped to the wasm32 target so it applies to the wasm crate however cargo is
|
||||
# invoked (e.g. `cargo build -p mtp-wasm --target wasm32-unknown-unknown` from
|
||||
# the workspace root). Cargo only reads .cargo/config.toml from the invocation
|
||||
# dir and its ancestors, so the wasm crate's own config isn't seen from here.
|
||||
[target.wasm32-unknown-unknown]
|
||||
rustflags = ["--cfg=web_sys_unstable_apis"]
|
||||
Loading…
Reference in a new issue