native
native copied to clipboard
Dart packages related to FFI and native assets bundling.
It would be nice to have convenience constructors to support [toll-free bridging](https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Toll-FreeBridgin/Toll-FreeBridgin.html), rather than having to extract and cast pointers. E.g., an `NSString(ffi.Pointer cf)` for strings, and similarly for other...
With this PR, all assets that are produced by a hook have their last modified date set to the `HookOutput.timestamp`. This ensures that caching mechanisms can use the last modified...
`// TODO(#123)` -> `// TODO(https://github.com/dart-lang/native/issues/123)`
If we have a long running Dart program that's running in the background and using assets, and at the same time we try to modify asset files (either by hand,...
It should output assets with `AssetSystemPath`. ```dart /// Asset is avaliable on the system `PATH`. /// /// [uri] only contains a file name. abstract class AssetSystemPath implements AssetPath { Uri...
Currently a class `Bar` nested in `Foo` is named `Foo_Bar`. Using underscores could be problematic as the class `Foo_Bar` itself could technically exist even though using underscores in Java class...
And add it to the CI workflow
#### Update: Landing as https://dart-review.googlesource.com/c/sdk/+/383340 instead. While this feature is under development, we should not over-complicate things and go with JSON as a storage format. Once we have a working...
For example we seem not to be testing https://github.com/dart-lang/native/blob/main/pkgs/native_assets_builder/test_data/treeshaking_native_libs/test/treeshaking_native_libs_test.dart As seen here: https://github.com/dart-lang/sdk/blob/main/pkg/dartdev/test/native_assets/test_test.dart What if we have a `test_runner.yaml` file that needs to exist for every test_data that has a...