Dioxus: Difference between revisions
CathalMullan (talk | contribs) m Fix cargo log message |
CathalMullan (talk | contribs) m Clarify that we're downgrading the version |
||
Line 12: | Line 12: | ||
</syntaxhighlight>There are two solutions to solving this: | </syntaxhighlight>There are two solutions to solving this: | ||
# | # Downgrade ''wasm-bindgen'' to the version the ''dioxus-cli'' expects. | ||
# Update ''dioxus-cli'' to use a newer lock file. | # Update ''dioxus-cli'' to use a newer lock file. | ||
===== | ===== Downgrading ''wasm-bindgen'' ===== | ||
Within your ''Cargo.toml'' file, force ''wasm-bindgen'' to use the expected version.<syntaxhighlight lang="toml"> | Within your ''Cargo.toml'' file, force ''wasm-bindgen'' to use the expected version.<syntaxhighlight lang="toml"> | ||
[dependencies] | [dependencies] |