Commit graph

494 commits

Author SHA1 Message Date
Richard Feldman
039599da6a
Fix test 2023-05-09 20:20:21 -04: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
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig 2023-04-25 14:14:35 -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
Anton-4
49b4d9318d
fixed serial deadlock
Some tests used to require multiple locks and one test acquired lock A but failed to acquire lock B, another test was holding lock B and required lock A. That way you get stuck! I've turned those multiple locks into a bigger shared one, deadlock proof.
2023-04-11 12:11:04 +02:00
Brendan Hansknecht
8ed134607b
use indoc for formatting 2023-04-09 21:20:38 -07:00
Brendan Hansknecht
9a87675368
fix typo 2023-04-09 21:13:21 -07:00
Brendan Hansknecht
df9f5a946e
add test case for ingesting as bytes with type hole 2023-04-09 14:03:34 -07:00
Brendan Hansknecht
fdf8bc6094
fix formatting 2023-04-09 14:03:34 -07:00
Brendan Hansknecht
030597c59a
add example use with cli_run test 2023-04-09 14:03:34 -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
Richard Feldman
2276c78d9f
Merge pull request #5093 from roc-lang/glue-getters-rtfeldman
Glue for functions and closures
2023-03-21 08:12:19 -04:00
Anton-4
6e0dc30797
fixes, build tar.br now 2023-03-20 16:32:54 +01:00
Anton-4
3eda00cb62
Merge pull request #5144 from lukewilliamboswell/static-site
Add code file import feature for `static-site-gen` platform
2023-03-20 11:16:57 +01:00
Folkert de Vries
bd3982241e
Merge pull request #5036 from roc-lang/tutorial_updates
tutorial: update to basic-cli 0.2.1, fix typos
2023-03-17 11:46:36 +01:00
Brendan Hansknecht
ba804cc382
clippy 2023-03-16 12:25:52 -07:00
Brendan Hansknecht
5cb41cb81d
switch false test case to one that will repro the bug and enable valgrind for it 2023-03-16 12:12:28 -07:00
Luke Boswell
bea3a4f2f7
add static code file import for site gen 2023-03-15 20:59:58 +11:00
Anton-4
1f92508c55
clippy 2023-03-14 19:17:36 +01:00
Anton-4
0605639fa8
fix editor test 2023-03-14 18:24:30 +01:00
Anton-4
16f32c9409
don't build editor for CLI by default 2023-03-14 16:36:03 +01:00
Brendan Hansknecht
e32c5f6514
standardize on decref instead of deinit for name 2023-03-13 14:08:23 -07:00
Anton-4
fe066e5567
Merge branch 'main' of github.com:roc-lang/roc into tutorial_updates 2023-03-13 19:46:05 +01:00
Anton-4
310321b8ab
lock on parser package 2023-03-13 19:41:33 +01:00
Anton-4
5acc2ea3a2
Merge pull request #5127 from roc-lang/editor-launch-fix
fix `Arg::allow_invalid_utf8` clap error
2023-03-13 11:42:34 +01:00
Anton-4
4737a5c01e
fix clap error
339884894
2023-03-12 15:50:59 +01:00
Brendan Hansknecht
cb191d3788
Split utils into error and command utils
Error utils pulls in snafu which requires procedural macros.
This means it can't start compiling until syn and macro related crates are compiled.
This deals compiling all crates that depend on commands like running zig for the bitcode.
The split enables those crates to run sooner.
2023-03-10 09:39:43 -08:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded 2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec 2023-03-06 16:36:18 -08:00
Brendan Hansknecht
e7420d5b2c
update outdated deps that don't require code changes 2023-03-06 14:20:42 -08:00
Brendan Hansknecht
0ed262d318
add missed update to use workspace dep 2023-03-06 13:06:44 -08:00
Brendan Hansknecht
c9e4badd93
update as many dependencies as possible to use the workspace version of the package 2023-03-06 12:43:48 -08: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
dc77916bb5
Merge pull request #5088 from roc-lang/reorg-build
move build_file and related functions to roc_build
2023-03-05 12:18:35 +00: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
Anton-4
e5aa27d19b
add lock for breakout 2023-03-04 14:11:48 +01:00
Anton-4
f07c126133
lock zig platform building 2023-02-27 18:01:32 +01:00