mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: return early in run_compiled_executable_and_exit, when -check-syntax is passed
This commit is contained in:
parent
3f5be0f4fc
commit
535c4ed0d6
@ -78,6 +78,9 @@ fn (mut b Builder) run_compiled_executable_and_exit() {
|
||||
if b.pref.skip_running {
|
||||
return
|
||||
}
|
||||
if b.pref.only_check_syntax {
|
||||
return
|
||||
}
|
||||
if b.pref.os == .ios && b.pref.is_ios_simulator == false {
|
||||
panic('Running iOS apps on physical devices is not yet supported. Please run in the simulator using the -simulator flag.')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user