Folkert
56e3438c61
add max-threads flag
2022-05-07 13:50:01 +02: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
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
Richard Feldman
57b7832917
Upgrade target-lexicon
2022-04-23 20:51:57 -04:00
Richard Feldman
061b26e90d
Add breakout to examples under test
2022-04-23 19:45:53 -04:00
Richard Feldman
ed336af17b
Test roc build
on breakout example
2022-04-23 15:34:28 -04:00
Richard Feldman
3a0adb1c7e
Merge pull request #2904 from rtfeldman/cli-args
...
CLI revisions
2022-04-21 12:59:08 -04:00
Jared Cone
66009c4b3c
Updated unit tests
2022-04-20 21:25:11 -07:00
Richard Feldman
6fb8481ebd
Report contents of stderr when example test fails
2022-04-20 20:43:39 -04:00
Richard Feldman
4952f7e9d2
fix cli_run tests
2022-04-20 20:43:39 -04:00
Richard Feldman
e2ea66043a
Add color_reset to StyleCodes
2022-04-20 20:43:39 -04:00
Richard Feldman
6c1e8d3789
fix typo
2022-04-20 17:14:22 -04:00
Richard Feldman
41fafd85fd
C L I P P Y
2022-04-20 17:06:20 -04:00
Richard Feldman
729aab21a1
Don't try to mem::forget a reference
2022-04-20 17:06:17 -04:00
Richard Feldman
4d11e7cbe6
Revamp notes printed after compilation finishes.
2022-04-20 17:05:21 -04:00
Richard Feldman
62484d3890
Add roc run
to run even if there are build errors.
2022-04-20 15:44:39 -04:00
Richard Feldman
a47b3be9c0
Revise some CLI flag descriptions
2022-04-20 11:42:19 -04:00
Richard Feldman
84727b31e5
Only support --target with roc build
2022-04-20 08:23:44 -04:00
Richard Feldman
9a89287365
Don't specify a default value for --precompiled-host
...
If we do, it's treated as always present even if it's
not passed in, which overrides the default of
"infer based on target."
2022-04-15 16:23:27 -04:00
Richard Feldman
d5c843a771
Don't use deprecated --roc-linker flag in tests
2022-04-15 12:13:05 -04:00
Richard Feldman
b60235f3af
Change TEST_SURGICAL_LINKER to TEST_LEGACY_LINKER
2022-04-15 12:12:50 -04:00
Richard Feldman
f56972742f
Default to not precompiled
2022-04-15 10:21:17 -04:00
Richard Feldman
0b979ebe1e
Revert "Try fixing the Killed: 9 problem on M1 Mac"
...
(this didn't fix it)
This reverts commit 089a3de22f
.
2022-04-15 09:42:44 -04:00
Richard Feldman
089a3de22f
Try fixing the Killed: 9 problem on M1 Mac
2022-04-15 09:42:31 -04:00
Richard Feldman
56f97a2edc
Fix some cli_run warnings
2022-04-15 09:24:57 -04:00
Richard Feldman
4065645d3c
Fix references to obsolete CLI flags
2022-04-15 08:46:12 -04:00
Richard Feldman
03c189c049
c-c-c-c-clippy! (turn and face the strange)
2022-04-14 21:52:00 -04:00
Richard Feldman
4f10ccc5d1
Rename Target::Host to Target::System
2022-04-14 20:44:23 -04:00
Richard Feldman
1f93973dbf
Allow --precompiled-host=false
2022-04-14 20:43:30 -04:00
Richard Feldman
6b213be997
Minor formatting
2022-04-14 20:35:42 -04:00
Richard Feldman
3daba1f6c0
Introduce --linker flag
2022-04-14 20:32:19 -04:00
Richard Feldman
2be9825b7b
Add --force-roc-linker and --legacy-linker
2022-04-14 20:19:27 -04:00
Richard Feldman
b796b2e92d
Merge pull request #2839 from rtfeldman/target-triple
...
changes to --target
2022-04-14 13:52:27 -04:00
Richard Feldman
dca2fedbd4
Give more information when surgical linking fails
2022-04-14 10:55:25 -04:00
Richard Feldman
e1a88f190c
Add a target triple for 32-bit musl linux
2022-04-13 01:21:12 -04:00
Richard Feldman
9f8be769fb
Specify environments on linux targets
2022-04-13 01:21:12 -04:00
Richard Feldman
746fb6ce88
Make --target flags be linux32 and linux64
2022-04-13 01:21:12 -04:00
Richard Feldman
76e98f7add
Add Into<Triple> for Target
2022-04-13 01:21:12 -04:00