dart2native: strip option

Now that dart2native can create a single file, it would be nice if a way was
available for Dart to strip the created files. Currently I am using something
like this:

dart2native one.dart
strip one

I noticed that dartaotruntime itself has already been stripped, as its the
same size as a “hello world” example after you strip it yourself.

Author: Fantashit

1 thought on “dart2native: strip option

  1. @jamesderlin not with the current approach – the generated binary is essentially AOT runtime and an AOT snapshot simply concatenated together. strip just throws AOT snapshot away because it is not a real section.

Comments are closed.