commit | 0d3dc31595fa6aa996876ebe11bbdcb646971fb3 | [log] [tgz] |
---|---|---|
author | Clement Skau <cskau@google.com> | Fri Oct 18 10:30:48 2019 +0000 |
committer | Alexander Thomas <athom@google.com> | Mon Oct 21 13:51:01 2019 +0200 |
tree | 3936f8e661e88febc330447c66b5e06ca9198d83 | |
parent | 2d75d0c618c4490633c44f899c25b7b4c8a4a67d [diff] |
[SDK] Fixes loading appended snapshots when executed with PATH. Loading of appended snapshots used to try read the executable itself via arg[0] which holds the "path" to the executable. However, when the executable is being invoked via PATH the "path" can be just the name of the executable with no actual path. This would cause the file reading to fail to find the file and therefore fail to read. This in turn caused standalone executables to fail to run when invoked via PATH. Bug: https://github.com/dart-lang/sdk/issues/38912 Change-Id: I08501661441db90ce6cff96a9337a5770ec3524d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121853 Commit-Queue: Clement Skau <cskau@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
Dart is:
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app
Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web
Dart has flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit the dart.dev to learn more about the language, tools, getting started, and more.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.