Richard Feldman
1047c5635a
Merge remote-tracking branch 'origin/trunk' into test-bindgen
2022-05-19 14:10:53 -04:00
Richard Feldman
9c72e5e8ed
Remove unnecessary -> () function return types
2022-05-18 08:29:40 -04:00
Richard Feldman
d4d2f04938
gitignore some more stuff in fixtures
2022-05-17 23:12:34 -04:00
Anton-4
0f59f3097a
cargo fix --edition
2022-05-16 17:04:17 +02:00
Richard Feldman
88a27f2040
Move strip_colors into cli_utils
2022-05-15 22:12:52 -04:00
Brian Carroll
aaea254e8f
Pass precompiled host bytes to gen_wasm in CLI
2022-05-15 11:11:08 +01:00
Richard Feldman
060890949f
Upgrade const_format
2022-05-11 10:47:56 -04:00
Richard Feldman
dbc6302681
Fix a bunch of errors from clippy --tests
2022-05-11 10:47:55 -04:00
Brian Carroll
ca7d916065
Delete llvm feature from roc_build and roc_cli
2022-05-09 20:40:57 +01:00
Richard Feldman
b7c7bbaf1d
Make roc_docs responsible for build dir constant
2022-05-08 22:03:15 -04:00
Richard Feldman
437f7dcf8b
Drop unnecessary .index(1)
2022-05-08 22:03:15 -04:00
Folkert
aa19a400cb
Revert "use valgrind again for the closure cli_run test"
...
This reverts commit f5b9fc06c5
.
2022-05-08 14:43:19 +02:00
Folkert
f5b9fc06c5
use valgrind again for the closure cli_run test
2022-05-08 12:16:58 +02:00
Folkert
13d4b0c8c8
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-05-08 00:03:39 +02:00
Folkert
3e141967bd
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-05-07 22:29:43 +02:00
Richard Feldman
51ee101bd1
Merge remote-tracking branch 'origin/trunk' into cli-max-threads
2022-05-07 16:23:41 -04:00
Folkert
0a0e6dfe87
fix multi-dep-str zig host
2022-05-07 19:55:37 +02:00
Folkert
81caa96af2
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-05-07 19:38:04 +02:00
Folkert
abbe8ecd24
hook max-threads up for roc check
2022-05-07 14:32:38 +02:00
Folkert
2066999908
get the threading info into file.rs
2022-05-07 14:01:34 +02:00
Folkert
56e3438c61
add max-threads flag
2022-05-07 13:50:01 +02:00
Richard Feldman
f8100d1ec6
Fix lifetime issue in cli_run
2022-05-06 18:03:22 -04:00
Richard Feldman
1bae95574e
Use more CMD_ constants in cli_run test
2022-05-06 18:03:01 -04:00
Richard Feldman
4a98f7ff0b
Revert "Experiment with multiple input files in CLI tests"
...
This reverts commit f07ffb58f2
.
2022-05-06 17:51:25 -04:00
Richard Feldman
f07ffb58f2
Experiment with multiple input files in CLI tests
2022-05-06 17:51:14 -04:00
Richard Feldman
b64e0b3ce4
Pass input files to roc
and roc run
in CLI tests
2022-05-06 17:50:58 -04:00
Richard Feldman
7cbde410e5
Simplify some error reporting
2022-05-06 17:50:47 -04:00
Richard Feldman
81bdc507f5
Pass args from clap to roc
/roc run
child processes
...
This works much better than the previous "arg index"
approach, especially with subcommands like `roc run`
2022-05-06 17:21:38 -04:00
Richard Feldman
e3865a3679
Use matches_of_os for file paths
2022-05-06 17:13:04 -04:00
Richard Feldman
71fa8c6ee2
Allow args to pass through roc run
to application
2022-05-06 17:13:04 -04:00
Richard Feldman
39ba0aca29
Reorganize parsing of extra CLI args
2022-05-06 17:13:03 -04:00
Richard Feldman
8849e5cdd1
Improve false interpreter missing CLI arg message
2022-05-06 17:13:03 -04:00
Richard Feldman
6f35d1891a
Capture stdin for roc
and roc run
tests
2022-05-06 17:13:03 -04:00
Richard Feldman
e7ac4dac96
Test roc run
and roc
in addition to roc build
...
Also, use constants instead of hardcoded strings.
2022-05-06 17:13:03 -04:00
Richard Feldman
4c3c42f278
Merge pull request #3011 from rtfeldman/fmt-tests
...
Improved formatting tests
2022-05-06 16:17:57 -04:00
Richard Feldman
281602d664
Merge pull request #3003 from rtfeldman/threading
...
Explicit single vs multithreading for build functions
2022-05-06 15:07:33 -04:00
Richard Feldman
c0f18f1c52
Move RemoveSpaces into fmt, for use in tests
2022-05-06 14:37:22 -04:00
Richard Feldman
d337a80ff5
Use matches.value_of_t
2022-05-05 18:00:47 -04:00
Richard Feldman
da3490be8b
Make sure CLI subcommands support the right flags
2022-05-05 17:47:32 -04:00
Richard Feldman
a836570a7b
Remove --link option from CLI
2022-05-05 17:36:25 -04:00
Richard Feldman
dd460fb818
Use single-threaded builds in tests
2022-05-05 14:42:36 -04:00
Ayaz Hafiz
ef877364d4
Allow invalid UTF-8 for roc format
argument
...
Presumably with a new version of clap that was introduced, we must now
specify that invalid-utf8 is permitted in order to run `matches.values_of_os`
as we do on line 174 of cli/src/main.rs:
```rust
Some((CMD_FORMAT, matches)) => {
let maybe_values = matches.values_of_os(DIRECTORY_OR_FILES);
```
Otherwise, clap panics:
```
thread 'main' panicked at 'Must use `Arg::allow_invalid_utf8` with `_os` lookups at `DIRECTORY_OR_FILES`', cli/src/main.rs:174:40
```
2022-05-05 09:04:34 -04:00
Anton-4
108ad9bb86
fix docs generation
2022-05-04 17:45:36 +02:00
Anton-4
dc8a6abf22
updated clap
2022-05-04 14:41:02 +02:00
Anton-4
cc28de408c
update wasmer to 2.2.1
2022-05-03 18:00:29 +02:00
Folkert
039f76edbd
remove duplicate import
2022-05-01 01:12:51 +02:00
Folkert
b7b86c0cde
Merge remote-tracking branch 'origin/trunk' into update_zig_09
2022-04-30 23:34:48 +02:00
Richard Feldman
85e7969c2d
Replace references to "global tag" with "tag"
2022-04-25 17:04:34 -04:00
Ayaz Hafiz
1ed9cf551a
Remove private tags from Ast
2022-04-25 11:20:37 -04:00
Richard Feldman
6d991476c4
Merge remote-tracking branch 'origin/trunk' into breakout
2022-04-23 22:37:24 -04:00