Commit graph

5207 commits

Author SHA1 Message Date
Ayaz Hafiz
886a367026
Go-to-definition basic support 2023-10-25 17:14:50 -05:00
Ayaz Hafiz
e954e074fb
Refactor for less laziness (right now) 2023-10-25 17:14:50 -05:00
Ayaz Hafiz
703ef6608e
Fix errors 2023-10-25 17:14:49 -05:00
Ayaz Hafiz
a002d568e0
Update match 2023-10-25 17:14:33 -05:00
Ayaz Hafiz
6e89821233
Update language server to support apps 2023-10-25 17:14:33 -05:00
Ayaz Hafiz
b706a57e16
Update LSP 2023-10-25 17:14:33 -05:00
Ayaz Hafiz
0db1cd9c28
Add hover 2023-10-25 17:14:33 -05:00
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
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
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
Folkert
eb61d352f5
changes after review 2023-10-20 18:04:07 +02:00
Richard Feldman
7b83dd6ef9
Fix some UTF-16 on Windows 2023-10-19 22:49:55 -04:00
Richard Feldman
eebec8a378
Add --output to build, default to app filename 2023-10-19 20:42:28 -04:00
Richard Feldman
77d2136d00
Merge pull request #5913 from roc-lang/dev-builds-lines-only
default to `line-tables-only`
2023-10-17 15:21:49 -04:00
Folkert
47d4335cda
cleanup test-gen-dev macro code 2023-10-17 20:02:00 +02:00
Richard Feldman
c5ec8aba4f
Fix to_cc_type a bit 2023-10-17 06:40:16 -04:00
Richard Feldman
2019909922
Use concat! to break up a long string literal 2023-10-15 20:32:20 -04:00
Richard Feldman
1f1b981110
Fix for future clippy 2023-10-15 20:22:03 -04:00
Richard Feldman
f2782e94d5
clippy 2023-10-14 21:49:07 -04:00
Richard Feldman
73f3250b8f
Don't report unhelpful things. 2023-10-14 21:49:06 -04:00