Skip to content

Native extensions not loading under Windows with Dart 2 #33551

@rastertail

Description

@rastertail

Windows environment: Windows 10 x64 with Dart 2.0.0-dev.64.0, 2.0.0-dev.63.0 with --preview-dart-2, and 1.24.3
Linux environment: Arch Linux x64 with Dart 2.0.0-dev.63.0 with --preview-dart-2

Under Windows, using the sample extension included in the SDK (built with Visual Studio 2017 15.6.4), running sample_synchronous_extension.dart fails with the message Native extension path must be absolute.error: library handler failed. The extension works properly using Dart 1, and this issue also occurs with an extension I have written myself. Testing under Linux, everything works properly, even with Dart 2.

Metadata

Metadata

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.os-windows

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions