Skip to content

Commit e656e5a

Browse files
authored
fix: use toFilePath in package config Uri (#2262)
fixes #2231 Thanks to @d-markey #2231 (comment) for figuring it out. This fix uses the same technique as in precompiled tests: https://github.com/dart-lang/test/blob/9fbbfdbee18a686e3f84a386a01960ea0543ba01/pkgs/test/test/runner/precompiled_test.dart#L54
1 parent 6bfe0d6 commit e656e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/test_core/lib/src/runner/wasm_compiler_pool.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class WasmCompilerPool extends CompilerPool {
3737
'compile',
3838
'wasm',
3939
'--enable-asserts',
40-
'--packages=${(await packageConfigUri).path}',
40+
'--packages=${(await packageConfigUri).toFilePath()}',
4141
for (var experiment in enabledExperiments)
4242
'--enable-experiment=$experiment',
4343
'-O0',

0 commit comments

Comments
 (0)