Commit graph

200 commits

Author SHA1 Message Date
Brendan Hansknecht
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08:00
Brendan Hansknecht
f5fb01fd53
Get tests passing
Add roc_dbg to some platforms.
Also start updating some roc_panic impls.
2023-11-29 21:05:49 -08:00
Brian Carroll
5719384ed9
Get rid of VM stack storage 2023-11-05 23:20:46 +00:00
Brian Carroll
c50925240d
Merge pull request #5921 from roc-lang/wasm-repl-crash
report roc_panic to the user in the web repl
2023-10-25 19:22:10 +01:00
Anton-4
845da6a5c9
clippy 2023-10-23 13:50:35 -07:00
Anton-4
7da37c0e98
rustfmt 2023-10-23 13:50:35 -07:00
Brian Carroll
6e2d7e4a8d
Improve Wasm debug instructions 2023-10-23 13:50:35 -07:00
Folkert
eb61d352f5
changes after review 2023-10-20 18:04:07 +02:00
Folkert
47d4335cda
cleanup test-gen-dev macro code 2023-10-17 20:02:00 +02:00
Luke Boswell
99369dec85
implement roc_panic aarch64 2023-10-09 15:24:37 +02:00
Folkert
821cc0cfd8
env variable for writing out the obj file 2023-09-16 00:51:14 +02:00
Folkert
f30b0bdf68
disable some debugging stuff 2023-09-15 23:10:43 +02:00
Folkert
cfe21a4894
safe generated object file 2023-09-15 23:07:27 +02:00
Folkert
63ff495763
call the main function directly on aarch64? 2023-09-15 23:07:27 +02:00
Folkert
bcfab8d09e
fix relocation size 2023-09-15 23:07:26 +02:00
Luke Boswell
6ecc72f68e
log location of gen-test object location 2023-09-03 21:32:36 +02:00
Folkert
7fb4b60b21
move around hostexposedalias logic 2023-08-09 15:09:03 +02:00
Folkert
8d4e83c3bb
remove lazy_static dependency in test_gen 2023-08-05 18:37:37 +02:00
Folkert
4cfa7c124d
better way of fetching the error message 2023-07-30 20:44:14 +02:00
Luke Boswell
c4b8a6e8f2
windows patches 2023-07-30 20:44:13 +02:00
Folkert
863ba06269
disable development flag 2023-07-30 20:44:12 +02:00
Folkert
d5bf526d66
fix calling convention problems 2023-07-30 20:44:11 +02:00
Folkert
f692c8dabf
consistent printing of the error message 2023-07-30 20:44:11 +02:00
Folkert
f59eed6366
so close 2023-07-30 20:44:10 +02:00
Folkert
644def72f1
working happy path 2023-07-30 20:44:10 +02:00
Folkert
d3ac7d616d
WIP 2023-07-30 20:44:09 +02:00
Folkert
8c99cdf817
working codegen 2023-07-30 20:44:07 +02:00
Folkert
10aa4f58c9
WIP 2023-07-30 20:41:33 +02:00
Ayaz Hafiz
016862ca28
Fix types 2023-07-12 17:52:05 -05:00
Ayaz Hafiz
f2f80f390d
Add erasure llvm test 2023-07-12 14:43:25 -05:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Ayaz Hafiz
60c98ea5d5
Stray clippy ignore 2023-07-12 13:53:50 -05:00
Folkert
ef39bad7c6
auto clippy fixes 2023-07-10 18:27:08 +02:00
Folkert
8738c95d6f
give 0 as a value to our enum attributes 2023-06-27 00:07:33 +02:00
Ayaz Hafiz
41597cbab7
Do not make LayoutInterner mutable 2023-06-17 18:13:03 -05:00
Ayaz Hafiz
00945ff2eb
Always print llvm on failure 2023-06-16 10:30:40 -05:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Ayaz Hafiz
bbcd9c3a52
Debug LLVM IR in tests 2023-05-24 12:41:54 -05:00
Folkert
66be08d073
allow configure of whether roc_alloc is generated 2023-05-01 18:41:47 +02:00
Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue 2023-03-29 19:43:59 +02: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
f11bf90d6d
values name change 2023-03-21 11:34:10 +01:00
Anton-4
9c0d2a2eb0
some style changes 2023-03-18 14:22:52 +01:00
Anton-4
f1b1aa6a7b
Merge branch 'main' of github.com:roc-lang/roc into glue-getters-rtfeldman 2023-03-17 11:34:29 +01:00
Folkert
8b00e071ab
fix wrong field name in wasm helpers 2023-03-15 22:17:23 +01:00
Brendan Hansknecht
b8e42b05a2
misc cleanup 2023-03-15 13:25:45 -07:00
Brendan Hansknecht
8f96295ab1
fix wasm test loading of seamless slices 2023-03-15 13:23:35 -07: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
d5e191d083
split up bitcode building to reduce dependency chains 2023-03-10 09:39:43 -08:00
Folkert
eb48f01f63
Str.startsWith, str.endsWith and friends 2023-02-11 00:51:04 +01:00