cbracken / rules_dart

Dart rules for Bazel
Apache License 2.0
46 stars 18 forks source link

dart_vm_binary should produce a standalone executable #76

Open cbracken opened 2 years ago

cbracken commented 2 years ago

Previously, the Dart SDK had no support for building standalone executables. The two options were:

Dart now supports building native ELF (Linux), Mach-O (macOS), PE (Windows) binaries. This drastically simplifies management and deployment of build products.

We should support emitting a standalone binary from dart_vm_binary. Ideally this should be the default, but it would be good to avoid breaking any existing users of the current bundle/snapshot format.

luangong commented 1 year ago

Any updates on this?