mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
for key, val in map syntax
This commit is contained in:
parent
e246833daa
commit
56b7c9e35f
2 changed files with 35 additions and 33 deletions
|
@ -14,13 +14,13 @@ const (
|
|||
enum BuildMode {
|
||||
// `v program.v'
|
||||
// Build user code only, and add pre-compiled vlib (`cc program.o builtin.o os.o...`)
|
||||
default_mode
|
||||
default_mode
|
||||
// `v -embed_vlib program.v`
|
||||
// vlib + user code in one file (slower compilation, but easier when working on vlib and cross-compiling)
|
||||
embed_vlib
|
||||
embed_vlib
|
||||
// `v -lib ~/v/os`
|
||||
// build any module (generate os.o + os.vh)
|
||||
build //TODO a better name would be smth like `.build_module` I think
|
||||
build //TODO a better name would be smth like `.build_module` I think
|
||||
}
|
||||
|
||||
fn vtmp_path() string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue