Skip to content

Commit 7d4643b

Browse files
committed
target -> host
1 parent 7346a89 commit 7d4643b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/native_toolchain_c/lib/src/cbuilder/clinker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class CLinker extends CTool implements Linker {
4949
required LinkOutput output,
5050
required Logger? logger,
5151
}) async {
52-
if (config.targetOS != OS.linux) {
52+
if (OS.current != OS.linux) {
5353
throw UnsupportedError('Currently, only linux is supported for this '
5454
'feature. See also https://github.com/dart-lang/native/issues/1376');
5555
}

0 commit comments

Comments
 (0)