fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
https://fzyzcjy.github.io/flutter_rust_bridge/
MIT License
4.29k stars 301 forks source link

Fixes cfg wasm warnings #2329

Closed patmuk closed 1 month ago

patmuk commented 1 month ago

Changes

@fzyzcjy as suggested in https://github.com/fzyzcjy/flutter_rust_bridge/pull/2308#discussion_r1778568908 this fixes all #[cfg(wasm)] warnings by turning them Into #[cfg(target_family = "wasm")].

Checklist

Remark for PR creator

fzyzcjy commented 1 month ago

Looks good!