Viet Dinh

Results 54 issues of Viet Dinh

This issue tracks upcoming web support for the library, most of the progress is done on the [`wasm_bindgen`] branch. - [x] ~~Merge web shim for RawSendPort and store_dart_post_cobject to upstream~~...

enhancement

Closes #315. Continues from #386. Additions: - `--wasm` flag to emit WASM-specific files - Requires `--dart-decl-output` - `--inline-rust` to inline platform modules into a single file - WASM shims for...

bbqsrc/cargo-ndk#22 was closed a week ago, it might be worth checking if the issue has been fixed for our use-cases and update the template+documentation accordingly.

enhancement

- Resolves #243 - Resolves #68 There are a few kinks to work out before we can stabilize it: - [x] Dart API - [x] Safety - [x] Data structure...

Reference: https://docs.flutter.dev/development/packages-and-plugins/developing-packages#plugin-ffi Currently, `flutter create -t plugin_ffi` generates a C library directly consumable by Flutter on all non-Web platforms. It might be interesting to see how we can update our...

enhancement

**Is your feature request related to a problem? Please describe.** Some issues (#136, #443) have requested the ability to call Dart functions/closures from the Rust context. This *might* be possible...

enhancement

- [x] Resolves #681 - [ ] Resolves #683

> I'm rethinking this and I don't think closures are a good long-term solution, due to the fact that `Acc` is used as the return type of a *trait method*....

enhancement

Some functions have grown beyond their initial scope and became difficult to maintain. The limit was temporarily raised as part of web support, but it would be ideal to refactor...

enhancement

> Something has changed with cbindgen/ffigen that made Windows diverge from other platforms by outputting an `UnsignedLongLong` instead of `UnsignedLong`. I think this might be out of scope, I can...

enhancement