Building the WASM examples or webauthn-rs-proto for a WASM target fails:
error: package `bumpalo v3.15.4` cannot be built because it requires rustc 1.73.0 or newer, while the currently active rustc version is 1.70.0
Either upgrade to rustc 1.73.0 or newer, or use
cargo update -p bumpalo@3.15.4 --precise ver
where `ver` is the latest version of `bumpalo` supporting rustc 1.70.0
wasm-bindgen's true MSRV (ie: what their CI actually tests) appears to be 1.76, and the metadata is wrong. As this is out of our control, I've opened an issue upstream with some different options there.
As for what we can do, we'll have to provide a manual solution for Cargo that should work with 1.70.
Building the WASM examples or
webauthn-rs-proto
for a WASM target fails:This issue came up in a couple of recent PRs:
bumpalo
is a transitive dependency ofwasm-bindgen
:That in turn depends on
bumpalo 3.0.0
:https://github.com/rustwasm/wasm-bindgen/blob/d25a68eaa778f339ea9deb147ddc76a1facfc625/crates/backend/Cargo.toml#L19-L20
bumpalo 3.14.0
would work with our MSRV and satisfywasm-bindgen-backend
's requirements, butcargo
doesn't try to solve this itself.wasm-bindgen
also claims an MSRV of 1.57:https://github.com/rustwasm/wasm-bindgen/blob/d25a68eaa778f339ea9deb147ddc76a1facfc625/Cargo.toml#L15
wasm-bindgen
's true MSRV (ie: what their CI actually tests) appears to be 1.76, and the metadata is wrong. As this is out of our control, I've opened an issue upstream with some different options there.As for what we can do, we'll have to provide a manual solution for Cargo that should work with 1.70.