mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: treat the main module like any other v module
This commit is contained in:
@@ -3,3 +3,7 @@ module main
|
||||
// This prelude is loaded in every v program compiled with -live,
|
||||
// but only for the main executable.
|
||||
import live.executable
|
||||
|
||||
const (
|
||||
no_warning_live_executable_is_used = executable.is_used
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user