Edit: being developed on https://pub.dev/packages/native_toolchain_rust.
We should consider introducing a package to help calling the Rust compiler from Dart code.
Things this package could contain:
This package could be used in multiple ways:
- Running the Rust compiler from the user machine inside
build.dart scripts.
- Running the Rust compiler from some
tools/compile_all.dart script on the GitHub CI (after which the artifacts can be downloaded in a build.dart script).
cc @fzyzcjy @robertbastian Please post any wishes you have here.