Commit graph

7171 commits

Author SHA1 Message Date
Ayaz Hafiz
9d365a8a57
Support basic diagnostic reporting 2023-10-25 17:14:32 -05: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
Brendan Hansknecht
0f5b112336
disable list_range_length_overflow for dev wasm 2023-10-23 13:50:36 -07:00
Brian Carroll
3d57e7a89c
If host has a _start, don't bother searching for main 2023-10-23 13:50:36 -07:00
Brendan Hansknecht
6665a0ea4f
Fix malloc in wasm by setting __heap_end 2023-10-23 13:50:36 -07: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
Brendan Hansknecht
6b191fcfc2
stop zig from automatically stripping with opt-size 2023-10-23 13:50:35 -07:00
Brian Carroll
8ead194c2c
Fix order of operations in gen_wasm host-to-app linking 2023-10-23 13:50:35 -07:00
Brian Carroll
5b633ccd24
Comments 2023-10-23 13:50:35 -07:00
Brian Carroll
89acb6461a
Ignore ordering of function names in Wasm linking test 2023-10-23 13:50:35 -07:00
Brendan Hansknecht
ca283197b9
fix LIST_RELEASE_EXCESS_CAPACITY arg count 2023-10-23 13:50:34 -07:00
Brendan Hansknecht
c18345d5ce
fix always_inline from rebase 2023-10-23 13:50:34 -07:00
Folkert
023f204af2
fix memory reading bug in test 2023-10-23 13:50:34 -07:00
Folkert
ec0eddb8b2
fix bug in use of alignment in free for tag unions 2023-10-23 13:50:34 -07:00
Luke Boswell
a77ac8244e
switch memcpy to fallback on windows 2023-10-23 13:50:34 -07:00
Brendan Hansknecht
f1126aae75
correct type of bytes_or_null to allow it to be aligned to 1 instead of 8 2023-10-23 13:50:34 -07:00
Anton-4
90865c6b51
cleanup CI, fix unrecognized --strip 2023-10-23 13:50:34 -07:00
Anton-4
0abed89cf2
zig fmt fix 2023-10-23 13:50:33 -07:00
Luke Boswell
8e06f22483
clippy 2023-10-23 13:50:32 -07:00
Luke Boswell
4f3ed13929
fix windows linking remove --strip option 2023-10-23 13:50:32 -07:00
Luke Boswell
908c999138
fix zig host obj on windows 2023-10-23 13:50:32 -07:00
Brendan Hansknecht
72a488e72e
update llvm wasm calling convention 2023-10-23 13:50:32 -07:00
Brian Carroll
197b626497
wasm: Delete load_symbol_zig. All tests pass! 2023-10-23 13:50:32 -07:00
Brian Carroll
12c6c25031
wasm: Fix number of args for higher-order lowlevels 2023-10-23 13:50:32 -07:00
Brian Carroll
b3bb477ccb
wasm: Fix struct calling convention for Zig lowlevels 2023-10-23 13:50:31 -07:00
Brian Carroll
4c4344b46c
wasm: delete CallConv, since now Zig==C (hopefully) 2023-10-23 13:50:31 -07:00
Brian Carroll
cc2b8b5d19
wasm: delete ReturnMethod::ZigPackedStruct 2023-10-23 13:50:31 -07:00
Brian Carroll
564de99a43
gen_wasm: Allow host's final Custom sections to be in any order 2023-10-23 13:50:31 -07:00
Brian Carroll
a590fafa76
Change a file extension .o -> .wasm to make Zig emit wasm
Zig 0.9 would prioritise the -target but now it seems to prioritise the file extension
2023-10-23 13:50:31 -07:00
Brendan Hansknecht
f8b787c93a
disable test with bad rounding 2023-10-23 13:50:31 -07:00
Brendan Hansknecht
40a40ef6d2
get examples working 2023-10-23 13:50:31 -07:00
Brendan Hansknecht
398bf2f96c
update rust code to llvm-16 and fix build
also update:
 - llvm frame address
 - erased function type
 - dec passing to zig
 - gen dev storage size
2023-10-23 13:50:31 -07:00
Brendan Hansknecht
2e2e609547
update zig to 0.11 and update build script
Also update memcpy to avoid recursive memcpy due to optimizations.
2023-10-23 13:50:30 -07:00
Anton-4
ec1c22108f
Merge pull request #5926 from roc-lang/wip-website-updates
Updates to WIP website
2023-10-23 20:42:42 +02:00
Anton-4
54180cc7a8
Merge pull request #5920 from roc-lang/output-flag
Add --output flag
2023-10-23 16:48:07 +02:00
Richard Feldman
d11aba1af9
Merge pull request #5868 from roc-lang/website-fixes
Website fixes
2023-10-22 19:47:56 -04:00
Richard Feldman
0eefbac8e3
Merge remote-tracking branch 'origin/main' into output-flag 2023-10-22 17:50:02 -04:00
Richard Feldman
fefaa92bd8
Merge pull request #5917 from roc-lang/format-stdout
Support `roc format` to stdout/from stdin
2023-10-22 17:47:41 -04:00
Richard Feldman
881184c2c0
Fix a wasm test 2023-10-22 16:57:26 -04:00
Richard Feldman
9573cf827c
Make the favicon real 2023-10-22 15:17:21 -04:00
Richard Feldman
c8483e30e4
Revert "Use .extend"
This reverts commit 8f68ff5d70.
2023-10-22 15:16:14 -04:00
Richard Feldman
086a2e4c14
Fix some gui tests 2023-10-22 15:02:09 -04:00
Richard Feldman
d25c7b7025
Update ruby interop test 2023-10-22 14:48:31 -04:00
Richard Feldman
8f68ff5d70
Use .extend 2023-10-22 14:42:50 -04:00
Richard Feldman
029f8f4bf7
Update reporting tests 2023-10-22 11:31:48 -04:00
Richard Feldman
3e01fe76d3
Fix typo 2023-10-22 10:46:11 -04:00
Richard Feldman
2f0527bc39
Update reporting tests 2023-10-22 10:22:40 -04:00
Anton-4
c393429b94
ignore nullable_unwrapped,nullable_wrapped 2023-10-21 19:40:26 +02:00