mirror of
https://github.com/vlang/v.git
synced 2025-09-10 16:00:31 -04:00
parent
ddfedc79ae
commit
6be298d208
@ -1052,10 +1052,12 @@ pub fn parse_args_and_show_errors(known_external_commands []string, args []strin
|
|||||||
|
|
||||||
if res.os != .wasm32_emscripten {
|
if res.os != .wasm32_emscripten {
|
||||||
if res.out_name.ends_with('.js') {
|
if res.out_name.ends_with('.js') {
|
||||||
|
if !res.build_options.any(it.starts_with('-backend') || it.starts_with('b')) {
|
||||||
res.backend = .js_node
|
res.backend = .js_node
|
||||||
res.output_cross_c = true
|
res.output_cross_c = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Disable parallel checker on arm64 windows and linux for now
|
// Disable parallel checker on arm64 windows and linux for now
|
||||||
$if linux || windows {
|
$if linux || windows {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user