Commit graph

655 commits

Author SHA1 Message Date
Luke Boswell
fc0617ae73
Fix wasm32 Debug build stack overflow
- Increase wasm32 initial memory from 4MB to 16MB
- Set explicit 8MB stack size for wasm32 builds (Debug builds need more
  stack due to no inlining)
- Change roc__serialized_size from usize to u32 for consistent
  cross-architecture serialization
- Make Header an extern struct for guaranteed layout
- Add noinline to setupModuleEnvFromSerialized to prevent optimization
  issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 16:30:51 -05:00
Luke Boswell
38c474176c
initial implementation 2025-12-10 15:37:13 +11:00
Luke Boswell (Linux-Desktop)
4d592a2190
fix segfaults - list_concat double decref and findCapturedValue memory leak 2025-12-09 18:21:24 +11:00
Luke Boswell
dcb602c5ad
fix windows support for platforms and glibc symbols 2025-12-09 15:39:46 +11:00
Luke Boswell
0c96377de0
restore glibc CRT files we removed earlier 2025-12-09 15:29:24 +11:00
Luke Boswell
4885c439f5
Merge remote-tracking branch 'remote/main' into roc-build 2025-12-09 11:08:22 +11:00
Luke Boswell
5c6350336d
WIP - adding more reporting, restore glibc support 2025-12-09 09:51:47 +11:00
Luke Boswell
e938c0cccc
ensure test platforms have targets 2025-12-09 09:07:56 +11:00
Ameen Radwan
ea76b7b1ee
check for parse/token errors and print them on run (#8586)
* check for parse/token errors and print them on run

* return early on parse fail if errors are not allowed

* fix merge issue
2025-12-08 21:10:16 +01:00
Richard Feldman
9f29b128d1
Treat work stack overflow as normal stack overflow 2025-12-08 09:23:41 -05:00
Richard Feldman
e2a60faa35
Fix segfault by adding type annotations 2025-12-08 09:08:55 -05:00
Richard Feldman
d6e802c50f
Add some new tests 2025-12-08 07:44:45 -05:00
Richard Feldman
4b6876ce98
Merge remote-tracking branch 'origin/main' into fix-flaky-bug 2025-12-08 07:44:42 -05:00
Luke Boswell
1ff3718bd6
add supported targets for Windows in fx platform 2025-12-08 20:23:17 +11:00
Luke Boswell
bc5476b9ad
fix test platform targets 2025-12-08 16:38:45 +11:00
Luke Boswell
7e47cda6de
WIP targets validation 2025-12-08 14:14:23 +11:00
Luke Boswell
bb8d1d221b
cross-compilation changes, remove glibc, simplify test runner and CI 2025-12-08 12:51:19 +11:00
Luke Boswell
433aca7548
Merge remote-tracking branch 'remote/main' into roc-build 2025-12-08 11:37:35 +11:00
Richard Feldman
f58dd26ecd
Merge remote-tracking branch 'origin/main' into fix-flaky-bug 2025-12-07 19:33:40 -05:00
Richard Feldman
d95549de43
Merge remote-tracking branch 'origin/main' into roc-program-stack-overflow 2025-12-07 19:33:14 -05:00
Richard Feldman
3b9aeb5853
Merge branch 'main' into fix-flaky-bug 2025-12-07 18:04:15 -05:00
Luke Boswell
3d818c326d
Merge remote-tracking branch 'remote/main' into fx-behvaiour-tests 2025-12-08 09:34:26 +11:00
Richard Feldman
fb742d2ecd
Revert a test for now 2025-12-07 17:34:12 -05:00
Richard Feldman
949799477c
Add List.count_if 2025-12-07 13:32:14 -05:00
Richard Feldman
067dc4a16c
Fix invalid method receiver on structural types 2025-12-07 09:42:26 -05:00
Richard Feldman
c4591701b1
Fix receiver bug 2025-12-07 07:18:26 -05:00
Richard Feldman
3934fca617
Fix tests 2025-12-06 13:07:52 -05:00
Richard Feldman
b2034b944b
Revise some error messages 2025-12-06 13:07:52 -05:00
Richard Feldman
c2a33a8313
Revise stack overflow error message 2025-12-06 13:07:52 -05:00
Richard Feldman
e3e9b2b135
Add div by 0 checks 2025-12-06 13:07:52 -05:00
Richard Feldman
7faec88e29
Add stack overflow handling for roc programs 2025-12-06 13:07:52 -05:00
Richard Feldman
278656943f
Test for stack overflows in roc programs 2025-12-06 13:07:52 -05:00
Richard Feldman
624e47345f
Fix try_is_eq test 2025-12-06 12:50:47 -05:00
Richard Feldman
c43813c457
Fix uninitialized memory bug 2025-12-06 12:48:45 -05:00
Richard Feldman
77f00acf83
Delete some obsolete tests 2025-12-06 12:18:11 -05:00
Richard Feldman
cad34b51be
Fix flaky bug 2025-12-06 11:47:20 -05:00
Richard Feldman
6a947a0d81
Fix env bug 2025-12-06 08:03:57 -05:00
Richard Feldman
e5355b0fa4
Restore some deleted tests 2025-12-06 00:30:45 -05:00
Richard Feldman
81e34985e7
Fix a stack overflow 2025-12-05 19:16:27 -05:00
Richard Feldman
54110ce783
Merge remote-tracking branch 'origin/main' into ranges 2025-12-04 18:46:57 -05:00
Richard Feldman
b3c2744ed2
wasm fixes etc. 2025-12-04 17:24:08 -05:00
Matthieu Pizenberg
6611e2f2f8
Add test/fx file
Signed-off-by: Matthieu Pizenberg <matthieu.pizenberg@gmail.com>
2025-12-04 18:42:20 +01:00
Richard Feldman
4ce8ec086d
Fix various things 2025-12-04 12:10:56 -05:00
Richard Feldman
325ca2b6e1
Merge remote-tracking branch 'origin/fix-inspect' into ranges 2025-12-04 11:24:53 -05:00
Richard Feldman
677ff62007
Ban enumFromInt(0) 2025-12-04 10:50:42 -05:00
Richard Feldman
ac69c1b01e
Revise generalization docs and add a test 2025-12-04 10:15:05 -05:00
Richard Feldman
df980b284f
Add a new test, fix some tests 2025-12-04 01:01:39 -05:00
Luke Boswell
71cd2cd2f4
try fix 2025-12-04 16:56:27 +11:00
Richard Feldman
8278ccd335
Improve flaky test fix 2025-12-04 00:33:25 -05:00
Richard Feldman
42d4adc9c0
Fix flaky tests 2025-12-03 23:37:13 -05:00