mtp/.cargo/config.toml
Alex Emmet e939714557
Some checks failed
CI / checks (push) Failing after 2m54s
[Fix] Version Bump, Checks, tests CQ
2026-08-13 21:18:55 +02:00

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"]