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
10 lines
548 B
TOML
10 lines
548 B
TOML
[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"]
|