Skip to content

Commit eef91ce

Browse files
authored
v.pref: exit early with an error message, if coroutines are not supported yet on the current platform, instead of producing a cgen error (#26342)
1 parent 28d65b5 commit eef91ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/v/pref/pref.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ pub fn parse_args_and_show_errors(known_external_commands []string, args []strin
10131013
}
10141014
}
10151015
} $else {
1016-
println('coroutines only work on macos & linux for now')
1016+
eprintln_exit('coroutines only work on macOS & Linux for now')
10171017
}
10181018
}
10191019
'-new-generic-solver' {

0 commit comments

Comments
 (0)