[native_assets_cli] [doc] [example] Using sanitizers
- Dominant language
- Dart
- Stars
- 275
- Forks
- 144
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 47
Description
As we know, it is often a bit more error-prone when working with FFI. Therefore, when someone uses these FFI-related tools, it may be a good idea to show people how to use sanitizers (e.g. ASAN) to test code.
For my personal usage (flutter_rust_bridge), it is sufficient to see just a brief comment about how to compile it. More generally, it may be helpful to have some doc or a demo doing so. If you like, after it gets working in flutter_rust_bridge's CI, I am happy to write documentations and share to everyone how to do it in more details.
---
Related (but in another repo): https://github.com/dart-lang/sdk/issues/54193
P.S. It seems that this issue can belong to both native_assets_cli and ffigen and other packages.
Contributor guide
Assessment
This issue has not been assessed yet.