mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![]() Bug: https://github.com/dart-lang/sdk/issues/35839 Change-Id: I35fe0d5b6be7ead081e164ddce2f8dc8e273158a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/122160 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Samir Jindel <sjindel@google.com> |
||
---|---|---|
.. | ||
test | ||
.gitignore | ||
README.md | ||
sample_asynchronous_extension.dart | ||
sample_extension.cc | ||
sample_extension_dllmain_win.cc | ||
sample_synchronous_extension.dart | ||
test_sample_asynchronous_extension.dart | ||
test_sample_synchronous_extension.dart |
This directory contains samples of native extensions.
To run the samples, first build both the Dart SDK and the runtime. For example:
$ ./tools/build.py create_sdk runtime
Then execute the sample programs. For example:
$ xcodebuild/ReleaseX64/dart samples/sample_extension/test/sample_extension_test.dart