I get compilation failure for web. Happens even when using the same version of flutter_rust_bridge_codegen as the template. Might be related to the following lines disappearing from bridge_generated.rs ?:
/// cbindgen:ignore
#[cfg(target_family = "wasm")]
#[path = "bridge_generated.web.rs"]
mod web;
#[cfg(target_family = "wasm")]
pub use web::*;
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.1, on macOS 13.0 22A380 darwin-arm64, locale
en-NZ)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.74.3)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
• No issues found!
On bare template, after running (as per docs):
I get compilation failure for web. Happens even when using the same version of
flutter_rust_bridge_codegen
as the template. Might be related to the following lines disappearing frombridge_generated.rs
?: