dart-sdk/samples_2
Alexander Aprelev e70690e415 [native_extensions] Convert uri to path so that on Windows native extension loading works.
Lookup of native extension library on Windows works when the library is next
to Platform.executable, this CL fixes lookup when it's next to the script.

Fixes https://github.com/dart-lang/sdk/issues/45370

TEST=updated sample_extension test

Change-Id: I91226be19ceec05e45cf90fd85428a62d95769c2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193741
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2021-04-01 03:22:35 +00:00
..
ffi [test] Remove assumption that machine word size implies Smi size. 2021-02-12 17:08:23 +00:00
sample_extension [native_extensions] Convert uri to path so that on Windows native extension loading works. 2021-04-01 03:22:35 +00:00
.gitignore [samples] Duplicate samples prior to NNBD migration 2020-11-24 18:50:28 +00:00
README [samples] Duplicate samples prior to NNBD migration 2020-11-24 18:50:28 +00:00
samples_2.status [test] Apply simarm64 status file entries to simarm64c. 2021-02-25 21:18:02 +00:00

This directory contains sample Dart programs.

The samples in this directory have not been migrated to non-nullable by
default. Please see directory `samples` for migrated samples.