Closed mosuem closed 3 weeks ago
Package | Version | Status | Publish tag (post-merge) |
---|---|---|---|
package:native_assets_builder | 0.4.0 | ready to publish | native_assets_builder-v0.4.0 |
package:native_assets_cli | 0.5.0 | ready to publish | native_assets_cli-v0.5.0 |
package:ffi | 2.1.2 | already published at pub.dev | |
package:ffigen | 12.0.0-wip | WIP (no publish necessary) | |
package:jni | 0.8.0-wip | WIP (no publish necessary) | |
package:jnigen | 0.8.0-wip | WIP (no publish necessary) | |
package:native_toolchain_c | 0.3.5-wip | WIP (no publish necessary) |
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.
TODO: Rename build_{runner/planner}.dart to {runner, planner}.dart
Can you update the PR description with a list of changes?
Support a
hook/link.dart
script, which executes after kernel compilation. The SDK changes to make this work are in https://dart-review.googlesource.com/c/sdk/+/338380.The link script receives as input a list of assets produced by
hook/build.dart
scripts. In ahook/build.dart
, users can specify if an asset should be sent to a link script, and give the name of the package containing that script. All assets destined for a particular link script are collected and given as input.In https://github.com/dart-lang/native/pull/1117, the link scripts get as additional input tree shaking information collected during kernel compilation, to enable link scripts to remove or add assets based on usage of symbols in Dart code.
Contribution guidelines:
- See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Most changes should add an entry to the changelog and may need to [rev the pubspec package version](https://github.com/dart-lang/sdk/wiki/External-Package-Maintenance#making-a-change). - Changes to packages require [corresponding tests](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md#Testing). Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.