Folkert
8833096a07
clippy
2023-05-31 23:57:37 +02:00
David Smith
b9981ece1e
Only suggest subcommands if not a .roc path
2023-05-27 11:25:55 -04:00
David Smith
3930d117f4
Switch comment style to docstring
2023-05-26 10:00:30 -04:00
David Smith
1abcfb1f94
Improve error message for subcommand typo to include command suggestion
2023-05-26 10:00:30 -04:00
David Smith
ed9953f564
Clippy
2023-05-26 10:00:30 -04:00
David Smith
7435a65d0f
Remove --
requirement for roc [FILE]
to allow better messaging
2023-05-26 10:00:30 -04:00
David Smith
e1e72a3713
Updates after rebase
2023-05-15 12:31:42 -04:00
David Smith
d06d0dbf9c
Convert --prebuilt-platform to bool flag
...
With this change, it's no longer possible to cross-compile to any target
other than wasm.
2023-05-15 10:40:37 -04:00
David Smith
54c130ca1a
Address review comments
...
- Remove `num_args` call that wasn't supposed to be there
- Factor out shared value parser with non-trivial init
2023-05-15 10:40:37 -04:00
David Smith
003aacbf28
Remove unnecessary num_args
for an optional single arg
2023-05-15 10:40:37 -04:00
David Smith
0f943c3e64
Code changes for clap 4 upgrade
2023-05-15 10:40:37 -04:00
Maldus512
9e40c69d1c
From Cow to Display
2023-05-14 22:59:55 +02:00
Maldus512
0389a662e2
Fixes issue #5394
2023-05-14 17:42:18 +02:00
Folkert
66be08d073
allow configure of whether roc_alloc is generated
2023-05-01 18:41:47 +02:00
Folkert
d13ca51095
add --dev flag to glue
2023-05-01 18:39:11 +02:00
Brendan Hansknecht
dd8914a75c
corret CodeGenBackend::Wasm to only be dev wasm backend
2023-04-26 07:29:32 -07:00
Brendan Hansknecht
031a16168a
fix matching for opt_level in build
2023-04-26 07:18:36 -07:00
Folkert
394495d307
Revert "update size asserts"
...
This reverts commit 9973d4b8d2
.
2023-04-21 13:22:23 +02:00
Folkert
4cd8f0a056
clippy --fix fixes
2023-04-21 12:05:51 +02:00
Brendan Hansknecht
9a87675368
fix typo
2023-04-09 21:13:21 -07:00
Brendan Hansknecht
e5b88366fe
add proper error messages for ingested files
2023-04-09 14:03:33 -07:00
Brendan Hansknecht
8f4945f286
make file loading errors that happen late in compilation still fatal
2023-04-09 14:03:33 -07:00
Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue
2023-03-29 19:43:59 +02:00
Brendan Hansknecht
2f6f5c09a0
remove old windows specific symbols. Now added by glue
2023-03-28 14:40:50 -07:00
Richard Feldman
977b7394f5
Reorder roc glue
arguments and add a default
2023-03-24 22:17:54 -04:00
Richard Feldman
194e74ec38
Fix typo
2023-03-24 20:53:22 -04:00
Brendan Hansknecht
8d5f443fcd
Merge remote-tracking branch 'origin/main' into pluggable-glue
2023-03-21 11:07:47 -07:00
Anton-4
4737a5c01e
fix clap error
...
339884894
2023-03-12 15:50:59 +01:00
Brendan Hansknecht
17ece67999
get roc glue working directly with .roc
plugin files
2023-03-05 12:33:46 -08:00
Brendan Hansknecht
abdc84d927
create conversion code from Types to the roc version of Types
2023-03-05 12:33:43 -08:00
Brendan Hansknecht
2f9e1ad539
change glue api to enable writing multiple files
2023-03-05 12:33:41 -08:00
Brendan Hansknecht
7a944113a0
move build_file and related functions to roc_build
...
This is needed of glue to be able to call build_file.
Also does some other changes to avoid circular dependencies.
2023-03-04 10:00:43 -08:00
Folkert
407fef0602
fix compilation on non-linux systems
2022-12-30 14:30:10 +01:00
Folkert
9500b0b97b
stop writing to files
2022-12-30 14:30:10 +01:00
Folkert
b81aed852a
properly display valgrind problems
2022-12-30 14:30:09 +01:00
Folkert
32e3f01a28
refactor printing error counts
2022-12-30 14:30:08 +01:00
Folkert
1a2e1aecdb
fix wasm host compilation
2022-12-29 16:50:21 +01:00
Folkert
479caaf0a9
clean up path usage
2022-12-29 16:50:21 +01:00
Folkert
356875a851
simplify host extension
2022-12-29 16:50:20 +01:00
Folkert
1995d8b3df
refactor cli/src/build.rs
2022-12-29 16:50:20 +01:00
Folkert
a2c760aa56
keep conditional compilation local
2022-12-29 16:50:20 +01:00
Folkert
e44bf59334
remove argument from load_and_monomorphize
2022-12-29 16:50:19 +01:00
Folkert
92da3973e7
remove argument from load_and_typecheck
2022-12-29 16:50:19 +01:00
Richard Feldman
15590fb31b
Generate docs basde on package root .roc file
2022-12-24 22:32:13 -05:00
Brian Carroll
09fee71084
cli: Convert run_wasm to work with roc_wasm_interp
2022-12-16 14:52:11 +00:00
Brian Carroll
fec64f0766
cli: remove wasmer dependency and rename run_with_wasmer->run_wasm
2022-12-16 14:52:10 +00:00
Brendan Hansknecht
1b92a24577
avoid building platform for link type dylib and no link
...
Both of these cases do not tie to a platform. The roc app can be built without considering the platform.
It is often the case that the platform is using one of these options because roc cannot build the platform.
This allows for more flexibility and avoids wasting time compiling the platform.
2022-12-14 17:34:07 -08:00
Folkert
3bae4145d9
do expect/dbg with atomics
2022-12-08 00:41:20 +01:00
Ayaz Hafiz
845a2f8c75
Report warnings in roc test
2022-12-02 14:11:58 -06:00
Ayaz Hafiz
0a4ec1958b
roc test stops if there are type errors
2022-12-02 14:11:57 -06:00