rules_dart icon indicating copy to clipboard operation
rules_dart copied to clipboard

dart_vm_binary should produce a standalone executable

Open cbracken opened this issue 2 years ago • 1 comments

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

  • Running from source
  • Running from a binary snapshot tied to a particular VM version

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.

cbracken avatar May 14 '22 21:05 cbracken

Any updates on this?

luangong avatar Apr 23 '23 21:04 luangong