Lance Fredrickson
|
7c1fff3495
|
builder: pass `-std=gnu99` to the C backend under linux (#12236)
|
2021-10-20 14:26:25 +03:00 |
playX
|
c1aa782a6c
|
js,checker: fix some modules build for `v -b js self`, fix `or block` check in ast.CallExpr (#12231)
|
2021-10-19 12:11:54 +03:00 |
Delyan Angelov
|
60add6cc28
|
ci: fix failing tests
|
2021-10-07 19:22:08 +03:00 |
Alexander Medvednikov
|
c356e347f5
|
pref: do not allow -prod with v run
|
2021-10-07 16:13:58 +03:00 |
Delyan Angelov
|
6d2c1f7e2c
|
v.gen.c: enable again parallel cgen for `-g`, make `-g` more robust
|
2021-10-05 21:51:49 +03:00 |
Delyan Angelov
|
e23d61d99e
|
v.pref: disable the parallel cgen when `-g` is given for now (the line numbers/paths are wrong)
|
2021-10-05 15:08:28 +03:00 |
crthpl
|
85b58b03a3
|
cgen: parallelize (#10844)
|
2021-09-28 10:28:04 +03:00 |
yuyi
|
fb75d528eb
|
builder: remove panics, when cleaning up tmp files after tests (#11525)
|
2021-09-17 20:56:33 +03:00 |
Alexander Medvednikov
|
8fc0b486a2
|
builtin: fix string interpolation when compiling with -nofloat
|
2021-09-13 18:40:32 +03:00 |
Alexander Medvednikov
|
c99281709b
|
pref: define nofloat comptime define
|
2021-09-13 18:35:21 +03:00 |
Alexander Medvednikov
|
5c4385a472
|
cgen: nofloat for kernel code
|
2021-09-10 20:54:48 +03:00 |
Ned Palacios
|
aedb6b8e84
|
v.builder: implement a `-check` mode, that runs only the parser + the checker, without codegen (#11414)
|
2021-09-07 07:17:53 +03:00 |
playX
|
08c517c966
|
strconv,v.gen.js: proper optionals returns, strconv compiles to the JS backend (#11364)
|
2021-09-03 12:16:07 +03:00 |
Delyan Angelov
|
0be20f1556
|
v.pref: keep the -error-limit option for now too
|
2021-08-15 13:46:50 +03:00 |
Leo Developer
|
b3094b0667
|
checker: abort prematurely on too many errors (#11185)
|
2021-08-15 13:41:51 +03:00 |
Delyan Angelov
|
eef7eea7bc
|
v.pref, v.builder: support `-no-std` (skips passing `-std=c99` to the C backend)
|
2021-08-15 11:05:06 +03:00 |
Delyan Angelov
|
f7cbcc241a
|
v.pref, v.builder: support `-no-rsp` (pass C options directly to the C compiler backend, without writing response files)
|
2021-08-15 10:47:44 +03:00 |
Delyan Angelov
|
3ffa6c1664
|
v.pref: fix `./v -usecache -cg run examples/hello_world.v`
|
2021-08-15 08:35:41 +03:00 |
Leo Developer
|
8a8a0932f7
|
all: add limit to accumulated errors / warnings (#11183)
|
2021-08-14 19:49:21 +03:00 |
Delyan Angelov
|
33e4dc3ad3
|
ci: fix coutput_test.v on windows by fixing `-o -` on windows
|
2021-08-01 00:27:06 +03:00 |
Delyan Angelov
|
7d5b6d2b48
|
fix running `v run file.v` in a current working folder containing a run/ subfolder
|
2021-07-30 03:28:54 +03:00 |
Delyan Angelov
|
d25bd95a0e
|
v: support -show-depgraph in addition to -show-callgraph
|
2021-07-28 16:42:11 +03:00 |
Delyan Angelov
|
c8e671d88c
|
v.pref: support a `-show-callgraph` option
|
2021-07-24 13:32:56 +03:00 |
Delyan Angelov
|
6313ed6a79
|
checker,cgen: fix `-os cross` support for `$if !solaris { #include <sys/ptrace.h> }`
|
2021-07-23 16:24:42 +03:00 |
Delyan Angelov
|
c797e1460d
|
checker: do not skip any of the top level `$if OS {` branches in `-os cross` mode
|
2021-07-23 15:53:03 +03:00 |
playX
|
425ca5e3c3
|
v.gen.js: add three backend options for JS, and comptime if support (#10859)
|
2021-07-19 15:55:03 +03:00 |
Uwe Krüger
|
f3408a2484
|
gc: use optimized mode by default (#10466)
|
2021-06-15 15:43:00 +03:00 |
Delyan Angelov
|
4a59316600
|
v.pref: remove 'unknown host CPU architecture' label to fix msvc CI
|
2021-06-13 03:05:00 +03:00 |
Delyan Angelov
|
ed07f00729
|
v.checker: bump checker_match_exhaustive_cutoff_limit to 12
|
2021-06-13 02:04:08 +03:00 |
Delyan Angelov
|
9e270bacf7
|
v.pref: do not panic in get_host_arch, assume Arch.amd64 as a default
|
2021-06-13 01:45:13 +03:00 |
Delyan Angelov
|
2ff0f62866
|
v: fix passing `-arch arm64` to `$if arm64{}`
|
2021-06-13 01:15:35 +03:00 |
Delyan Angelov
|
5870751769
|
v.gen.c: use the __V_architecture macro in v.pref.get_host_arch()
|
2021-06-13 00:49:30 +03:00 |
Delyan Angelov
|
dc654b0121
|
Revert "v.gen.c: use the __V_architecture macro in v.pref.get_host_arch()"
This reverts commit 5452ba4653 .
|
2021-06-12 23:15:48 +03:00 |
Delyan Angelov
|
5452ba4653
|
v.gen.c: use the __V_architecture macro in v.pref.get_host_arch()
|
2021-06-12 22:15:08 +03:00 |
Andreas Heissenberger
|
96c8d147b2
|
v.gen.js: add source map creation support (inline only, no src) (#10384)
|
2021-06-10 08:33:46 +03:00 |
zakuro
|
b0c9a87292
|
v: show an error and exit, when no module name is given in `v build-module` (#10338)
|
2021-06-04 18:30:43 +03:00 |
Delyan Angelov
|
955dc12523
|
v: replace execuast => executable
|
2021-05-31 09:39:18 +03:00 |
Delyan Angelov
|
39de06c200
|
v.pref: cleanup V options, support the documented -output and -backend
|
2021-05-28 09:07:06 +03:00 |
Delyan Angelov
|
626517f5f7
|
tools: turn `v -watch` into a `v watch` sub-command, so that it can have its own options
|
2021-04-28 12:29:50 +03:00 |
Enzo
|
4f246222b0
|
v: replace `--enable-globals` with `-enable-globals` (#9898)
|
2021-04-28 07:44:28 +03:00 |
pancake
|
9a3869c521
|
v.ast: rename aarch64 to arm64 and aarch32 to arm32
|
2021-04-27 12:24:58 +03:00 |
pancake
|
6750ed254f
|
x64: rename to `native` to not conflict with the x64 comptime variable
|
2021-04-27 12:24:58 +03:00 |
Delyan Angelov
|
1d2ef79545
|
v: fix -assert aborts
|
2021-04-15 20:29:58 +03:00 |
Delyan Angelov
|
c7752ce8d3
|
v: add an -assert aborts/backtraces option to ease debugging
|
2021-04-15 20:26:51 +03:00 |
Delyan Angelov
|
d90be54850
|
v: add -cstrict for optionally turning on all ccoptions.wargs
|
2021-04-15 14:56:45 +03:00 |
crthpl
|
14434cc86a
|
all: bare metal support (fix `-freestanding`) (#9624)
|
2021-04-14 07:50:50 +02:00 |
Uwe Krüger
|
10bf974cda
|
all: gc: provide optimized mode (#9716)
|
2021-04-14 00:40:26 +02:00 |
crthpl
|
903dd49212
|
v: add support for `$if freestanding {`, without using it (part 1) (#9656)
|
2021-04-09 23:24:25 +03:00 |
Delyan Angelov
|
c698fa1a58
|
all: support `v -watch run` (#9577)
|
2021-04-04 16:05:06 +02:00 |
Alexander Medvednikov
|
7385f8e56b
|
all: a massive merge of ast and table modules
|
2021-04-02 01:57:09 +03:00 |