1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

live: always add os and time when compiling -live programs

Fixes fail when -live user programs do not use os and time.
This commit is contained in:
Delyan Angelov
2019-12-09 12:48:41 +02:00
committed by Alexander Medvednikov
parent 7ffa315566
commit f68d9d1a16
4 changed files with 36 additions and 9 deletions

View File

@ -0,0 +1,9 @@
module main
import os
import time
const (
os_used = os.MAX_PATH
time_used = time.now()
)

View File

@ -0,0 +1,9 @@
module main
import os
import time
const (
os_used = os.MAX_PATH
time_used = time.now()
)