Commit graph

1084 commits

Author SHA1 Message Date
Folkert
5cf100205e
pass the environment along to the execve calls 2022-05-23 19:35:56 +02:00
Folkert
0fd382e713
use fexecve on linux 2022-05-22 22:38:51 +02:00
Folkert
b80b59125e
more rust, less libc 2022-05-22 14:33:30 +02:00
Folkert
ddc67c2a19
implement argument passing 2022-05-22 14:19:53 +02:00
Folkert
95fce168a4
Merge remote-tracking branch 'origin/trunk' into roc-run-from-ram 2022-05-22 13:41:00 +02:00
Folkert
d4e475338d
try to use in-memory files in linux 2022-05-22 13:17:30 +02:00
Richard Feldman
3212ca3949
Revise error message for Not Found 2022-05-20 11:30:57 -04:00
Richard Feldman
1047c5635a
Merge remote-tracking branch 'origin/trunk' into test-bindgen 2022-05-19 14:10:53 -04:00
Folkert
e81875cca7
use execve instead of fexecve 2022-05-18 21:42:49 +02: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
Folkert
f154f84d5a
WIP 2022-05-11 23:10:36 +02: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
Richard Feldman
fd40fed937
Fix a bunch of errors from clippy --tests 2022-05-10 15:21:48 -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