Skip to content

fix the rustversion min version#4899

Merged
guybedford merged 1 commit intowasm-bindgen:mainfrom
Its-Just-Nans:patch-1
Jan 12, 2026
Merged

fix the rustversion min version#4899
guybedford merged 1 commit intowasm-bindgen:mainfrom
Its-Just-Nans:patch-1

Conversation

@Its-Just-Nans
Copy link
Contributor

@Its-Just-Nans Its-Just-Nans commented Jan 12, 2026

Description

Fix

cargo init project
cargo add wasm-bindgen
cargo build
# works !

cargo +nightly -Z minimal-versions update
cargo build
# error <--------------------- could not find `cfg` in `rustversion`

# if we do
cargo add rustversion@1.0.6
# to force rustversion minimum at 1.0.6

cargo +nightly -Z minimal-versions update
cargo build
# works !

More infos

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#caret-requirements

Checklist

  • Verified changelog requirement

@guybedford guybedford merged commit e3b6355 into wasm-bindgen:main Jan 12, 2026
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants