Commit graph

34433 commits

Author SHA1 Message Date
Richard Feldman
185f372fb8
Merge remote-tracking branch 'origin/main' into remove-injection 2025-10-12 20:53:50 -04:00
Richard Feldman
645cdd349a
Merge pull request #8283 from roc-lang/test-serialization
Test that Serialized types are the same on all targets
2025-10-12 20:39:52 -04:00
Richard Feldman
da65095aed
Fix interpreter shim deserialization 2025-10-12 20:24:01 -04:00
Richard Feldman
6cb0fd4f62
Fixes for CI 2025-10-12 20:15:58 -04:00
Richard Feldman
4b478d182d
Merge remote-tracking branch 'origin/test-serialization' into improve-module-env-serialization 2025-10-12 20:02:32 -04:00
Luke Boswell
ddfd451a07
Merge pull request #8289 from joshuawarner32/backslash
Move from triple-double for multiline strings to zig-like double-backslash
2025-10-13 11:01:13 +11:00
Richard Feldman
c1c9004410
More fixes 2025-10-12 20:00:32 -04:00
Richard Feldman
9053f21841
zig fmt 2025-10-12 19:52:54 -04:00
Richard Feldman
31345252b5
More ModuleEnv consistency fixes 2025-10-12 19:44:24 -04:00
Richard Feldman
e06dfbf331
Back out the arena change 2025-10-12 19:24:15 -04:00
Richard Feldman
9399b2b23d
Fix ModuleEnv 32-bit serialization 2025-10-12 19:21:42 -04:00
Richard Feldman
a89edbdd78
Merge pull request #8288 from roc-lang/improve-node-store-serialization
Improve node store serialization
2025-10-12 19:14:06 -04:00
Richard Feldman
e868c5c2df
Fix lints 2025-10-12 18:56:22 -04:00
Joshua Warner
504d556bb9 Move from triple-double for multiline strings to zig-like double-backslash 2025-10-12 15:51:52 -07:00
Richard Feldman
cbde139774
Refactor out a bunch of dereferences 2025-10-12 18:15:37 -04:00
Richard Feldman
5b74ecc427
Drop an obsolete arena 2025-10-12 17:53:54 -04:00
Richard Feldman
727c1349dc
Fix CI 2025-10-12 17:36:15 -04:00
Richard Feldman
c22959035d
Back out the arena change 2025-10-12 16:30:17 -04:00
Richard Feldman
7b34f71f68
Fix implications of previous change 2025-10-12 15:31:40 -04:00
Richard Feldman
9963b86283
Store scratch as a pointer 2025-10-12 14:14:50 -04:00
Richard Feldman
2720e470f0
Drop unused serialization functions 2025-10-12 14:06:23 -04:00
Anton-4
1c6810e19b
Merge pull request #8286 from roc-lang/print-nightly-sha
print nightly sha256
2025-10-12 13:32:57 +02:00
Anton-4
bcc59a64ce
print nightly sha256 2025-10-12 13:30:01 +02:00
Richard Feldman
b0e31347c0
wip claude stuff 2025-10-11 11:32:12 -04:00
Richard Feldman
5562334ce5
test that Serialized types are platform-independent
This test ensures that all .Serialized types have identical sizes on
32-bit and 64-bit platforms. This is critical because we serialize these
types and expect them to be portable across architectures.

If a Serialized type accidentally contains pointers/slices, it will have
different sizes on different platforms, breaking serialization. This test
catches such issues by building for both native and wasm32 targets.

The test runs in CI as part of the check-once job, and can be run locally
with: zig build test-serialization-sizes
2025-10-11 11:31:26 -04:00
Richard Feldman
ab814cca87
wip 2025-10-11 10:38:26 -04:00
Richard Feldman
74c21485e4
Fix CI 2025-10-10 20:40:06 -04:00
Richard Feldman
7ba3f684d5
Use dynamic indices in more places 2025-10-10 19:04:53 -04:00
Richard Feldman
1629b012dd
Remove unnecessary getBool helper 2025-10-09 21:47:39 -04:00
Richard Feldman
9b6ac7f899
Remove builtin injection system 2025-10-09 21:45:55 -04:00
Richard Feldman
7f0ce0993b
Merge pull request #8280 from roc-lang/bool-builtin
Add initial Bool.roc and Result.roc builtin modules
2025-10-09 21:25:50 -04:00
Richard Feldman
5ae2edb49a
Revert "Have Result.roc depend on Bool"
This reverts commit 1494b0006b.
2025-10-09 21:22:26 -04:00
Richard Feldman
1494b0006b
Have Result.roc depend on Bool 2025-10-09 21:21:45 -04:00
Richard Feldman
135a9e7a21
target baseline x86_64 for valgrind on CI 2025-10-09 21:01:09 -04:00
Richard Feldman
045ca9b1c3
Merge pull request #8281 from roc-lang/roc-fmt
`roc fmt` over `roc format`
2025-10-09 17:16:57 -04:00
Richard Feldman
49ae649030
Merge remote-tracking branch 'origin/main' into result-builtin 2025-10-09 14:17:50 -04:00
Richard Feldman
1b6cb236f9
Merge branch 'main' into roc-fmt 2025-10-09 14:17:39 -04:00
Richard Feldman
f45e2d5fc3
Merge pull request #8278 from roc-lang/gen-docs
Add initial `roc docs` for docs generation
2025-10-09 13:55:27 -04:00
Richard Feldman
fa144aa35c
Merge pull request #8279 from roc-lang/jared/push-mnpwokwqsntv
Fix compile error after merge
2025-10-09 13:31:28 -04:00
Richard Feldman
e5d903dd28
Merge remote-tracking branch 'origin/main' into jared/push-mnpwokwqsntv 2025-10-09 13:30:26 -04:00
Richard Feldman
fe215a452d
Fix Bool index in Bool.roc 2025-10-09 13:28:07 -04:00
Richard Feldman
0148fe9595
Merge remote-tracking branch 'origin/main' into gen-docs 2025-10-09 13:23:27 -04:00
Richard Feldman
bce5a4c551
Merge pull request #8277 from roc-lang/cache-builtins
Add caching of builtins
2025-10-09 13:14:21 -04:00
Richard Feldman
5916742443
Split up injecting Bool and Result 2025-10-09 13:08:51 -04:00
Richard Feldman
78dbd55303
s/roc format/roc fmt/g 2025-10-09 13:07:58 -04:00
Richard Feldman
31c7d7e410
zig fmt 2025-10-09 12:54:47 -04:00
Richard Feldman
1f519a8e1d
Add some debug assertions around the Bool type 2025-10-09 12:53:33 -04:00
Jared Ramirez
0ba69f0385
Fix compile error after merge 2025-10-09 12:48:57 -04:00
Richard Feldman
8a0b5a1937
Clean up debug prints 2025-10-09 12:45:19 -04:00
Richard Feldman
c01b9b9306
Incorporate Bool into builtins 2025-10-09 12:40:38 -04:00