Open hjmallon opened 11 months ago
In theory this 0.27 release fixes the issue https://github.com/wravery/webview2-rs/pull/25
Any update on this? Is there any workaround other than installing Rustup? (I can't do that on this laptop).
Can't we update the dependency to the current v0.28 release?
Can't we update the dependency to the current v0.28 release?
Likely not in v1. v2 is pretty close though.
Also, check out the workarounds mentioned in the issue linked above (https://github.com/tauri-apps/tauri/issues/4124).
Describe the bug
This is a direct duplicate of https://github.com/tauri-apps/tauri/issues/4124 (deliberately, since that one is closed)
Tauri fails to build on Rust when installed with the standalone installer.
webview2-com-sys
doesn't build.This is down to this bug https://github.com/wravery/webview2-rs/issues/23 which is patched here (not merged yet) https://github.com/wravery/webview2-rs/pull/24.
webview2-com-sys has a hard requirement on rustfmt existing during its build.rs.
I am going to work around by installing via rustup (as the Tauri docs recommend), but we should still work with upstream to fix this, since it seems quite easy to fix.
Reproduction
Install cargo and rust with standalone on Windows https://forge.rust-lang.org/infra/other-installation-methods.html#standalone-installers Try to build a tauri app
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response
EDIT: Also related to https://github.com/tauri-apps/tauri/issues/7024