Commit graph

196 commits

Author SHA1 Message Date
Richard Feldman
b9463091e6
Make zig build minici report snapshot mismatches 2025-11-25 10:05:25 -05:00
Luke Boswell
bb378943cb remove noisy warning on windows 2025-11-25 08:46:23 +11:00
Richard Feldman
1732a001f0
Merge origin/main into improve-platform-modules 2025-11-22 14:56:07 -05:00
Anton-4
576a58c390
Fix test-cli deps (#8407)
* properly set up test-cli deps

* refactor
2025-11-21 16:21:09 +01:00
Anton-4
15b4fc893e
cleanup addMainExe (#8403)
* cleanup addMainExe

* retry on 503

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-11-21 12:26:22 +01:00
Anton-4
d4de4ba4d5
move cli integration tests together (#8402) 2025-11-20 16:46:38 +01:00
Anton-4
6e50ca09fa
zig build minici (#8392)
* implement minici zig command

* fix comment
2025-11-17 19:15:24 +01:00
Richard Feldman
c75173d9cf
Merge remote-tracking branch 'origin/main' into improve-platform-modules 2025-11-11 09:44:16 -05:00
Anton-4
bed0e9ceee
Test filter fixes (#8371)
* add forgotten tests + fixes

* fmt

* filter fixes

* filter out test wrappers

* comments

* merge fixes

* typos fix
2025-11-10 20:43:12 +01:00
Richard Feldman
008de6d830
Try to fix Windows 2025-11-08 19:17:44 -05:00
Richard Feldman
7284a393ec
Merge remote-tracking branch 'origin/main' into improve-platform-modules 2025-11-08 15:02:49 -05:00
Anton-4
e1df3bea79
use same Dcpu flag as releases (#8357)
* use same Dcpu flag as releases

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* macos x64 fixes

* fix test-playground

Restored the playground WASM builtin loader to use the proven field-by-field ModuleEnv deserialization logic (matching the runtime loader) so pointer relocation, imports, and identifier lookups are reconstructed correctly inside WASM instead of tripping the error.TrapUnreachable immediately after loadCompiledModule.

* make it DRY

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* better comments

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* empty string does not work

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* final flag fix

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* Remove unused artifact names 

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-11-08 14:43:51 +01:00
Richard Feldman
ea7420ddec
Fix CI 2025-11-06 11:43:49 -05:00
Richard Feldman
0cf9ed0cab
Fix platform detection 2025-11-05 20:11:19 -05:00
Richard Feldman
9443c694fb
Only build tests on native targets 2025-11-05 11:47:27 -05:00
Anton-4
265c51c00d
Merge branch 'main' into more-cli-binary-tests 2025-10-31 10:16:57 +01:00
Richard Feldman
d65f40c6c7
Merge remote-tracking branch 'origin/main' into nested-builtins 2025-10-30 12:31:35 -04:00
Anton-4
5414f105af
name change 2025-10-29 19:32:50 +01:00
Anton-4
9b98f2f704
more cli end-to-end tests, fix fmt memory leaks 2025-10-29 19:27:39 +01:00
Anton-4
170d199cc5
fmt 2025-10-28 20:02:56 +01:00
Anton-4
ef940d5100
flush fixes + tests + build.zig cleanup 2025-10-28 19:58:02 +01:00
Richard Feldman
b89421a902
Update some comments 2025-10-25 22:26:38 -04:00
Richard Feldman
106bf6830a
Consolidate builtins into Builtin.roc 2025-10-24 19:12:04 -04:00
Richard Feldman
4462c6e16d
Merge remote-tracking branch 'origin/main' into builtin-str2 2025-10-24 11:57:12 -04:00
Richard Feldman
ef7586610e
Don't special-case Str 2025-10-24 10:18:15 -04:00
Richard Feldman
8030f5c74a
Fix tests 2025-10-24 09:44:45 -04:00
Richard Feldman
8d9803cafa
Fix reporting errors 2025-10-24 08:11:41 -04:00
Anton-4
551e627915
Merge pull request #8327 from FabHof/ArrayList-cleanup
0.15.2. cleanup: Starting to migragte from std.array_list.Managed to std.ArrayList
2025-10-24 10:21:31 +02:00
Brendan Hansknecht
60e9a16079
Avoid stripping in debug builds
This just makes it harder to debug things (for example no stack traces).
Arguably even in release builds strip is not worth it most of the time.
Disk space is cheap. Debugging is hard.
2025-10-23 19:32:32 -07:00
Richard Feldman
955779c281
Add test-cli build step to run CLI tests 2025-10-23 22:31:07 -04:00
Richard Feldman
ceef009d66
Consolidate some more logic 2025-10-23 18:33:25 -04:00
Richard Feldman
0228bf8822
Centralize some logic 2025-10-23 16:08:26 -04:00
Fabian Schmalzried
97192431a5
build.zig: test replacing array_list.Managed with ArrayList 2025-10-23 14:21:48 +00:00
Brendan Hansknecht
ed213e1200
correct roc builtin path in build script.
When loading the roc builtins from a different build.zig (like in a platform),
The roc builtin files would not be found due to depend on cwd.
Instead, depend on the roc build root.
2025-10-21 19:00:04 -07:00
Anton-4
bf19a59c70
add tests checkmark 2025-10-21 11:52:42 +02:00
Richard Feldman
7bed6e5a8d
Merge pull request #8302 from roc-lang/import-builtins
Import builtins from .roc files
2025-10-20 21:48:14 -04:00
Anton-4
41824298b4
print nr of passed tests 2025-10-20 19:24:00 +02:00
Richard Feldman
6706a068f0
Merge origin/main - upgrade to Zig 0.15.2
- Resolved conflicts preserving BuiltinTypes architecture
- Updated ArrayList to array_list.Managed for Zig 0.15.2
- Updated Io.Writer API for Zig 0.15.2
- Kept Bool special-case handling in render_helpers
- Kept builtin module loading in all affected files
2025-10-19 14:58:53 -04:00
Richard Feldman
51affced49
Don't serialize the frozen field 2025-10-18 21:48:08 -04:00
Richard Feldman
ce70ac5dd9
Fix playground discrepancy 2025-10-18 21:38:47 -04:00
Anton-4
6b2b404034
fmt 2025-10-18 20:07:39 +02:00
Anton-4
91bdd15836
fix Killed on macos x64 2025-10-18 20:06:15 +02:00
Richard Feldman
09c50c77ca
Consolidate some build.zig logic 2025-10-17 21:10:43 -04:00
Richard Feldman
82c6562352
Merge remote-tracking branch 'origin/main' into import-builtins 2025-10-17 21:05:58 -04:00
Anton-4
53f562132f
some zig 15 fixes 2025-10-15 11:44:41 +02:00
Anton-4
e5fed613ce
Merge branch 'main' of github.com:roc-lang/roc into upgrade-to-zig-1.15.1 2025-10-14 15:48:33 +02:00
Richard Feldman
17ecc68fed
Various auto-import fixes 2025-10-13 16:01:39 -04:00
Richard Feldman
f2edced953
Merge pull request #8284 from roc-lang/bhansconnect/push-pzovnxkmwrws
fix canonicalize fuzzer
2025-10-13 00:59:43 -04:00
Richard Feldman
185f372fb8
Merge remote-tracking branch 'origin/main' into remove-injection 2025-10-12 20:53:50 -04:00
Richard Feldman
9053f21841
zig fmt 2025-10-12 19:52:54 -04:00