Commit graph

223 commits

Author SHA1 Message Date
Richard Feldman
799dada6a0
Delete a ton of unused arguments 2025-12-04 01:45:48 -05:00
Richard Feldman
1e57610913
Add a lint for disallowing unused variables 2025-12-04 00:53:46 -05:00
Richard Feldman
36885aaad6
Disable canonicalization violation checks for now 2025-12-03 23:33:54 -05:00
Richard Feldman
a428e5c86e
Apply forbidden patterns check to canonicalization 2025-12-03 23:25:44 -05:00
Anton-4
0a11193943
Add missing fx tests (#8556)
* add missing fx tests

* cleanup
2025-12-03 18:00:32 +01:00
Richard Feldman
ccb2b897ef
Verify roc formatting in minici 2025-12-02 21:46:30 -05:00
Richard Feldman
987288265d
Add getMethodIdent to forbidden patterns, fix uses 2025-12-02 12:26:59 -05:00
Richard Feldman
883da5dd58
Clean up duplicated code 2025-12-01 22:37:33 -05:00
Richard Feldman
205af9f410
Fix open tag union main! 2025-12-01 21:36:27 -05:00
Luke Boswell
0a58002119
add tracing refcounts to fx test platform 2025-11-30 13:07:17 +11:00
Luke Boswell
34e8dad7d4
clear roc cache on zig build roc too 2025-11-30 13:03:25 +11:00
Luke Boswell
bdc447db95
Revert "add cache clean cli subcommand"
This reverts commit 51d1477e4a.
2025-11-30 11:07:48 +11:00
Luke Boswell
5627cb0524
add -Dtrace-refcount=true and clear cache to zig build 2025-11-30 11:06:03 +11:00
Luke Boswell
51d1477e4a
add cache clean cli subcommand 2025-11-30 09:48:13 +11:00
Anton-4
576001c3ed
fix linux segfault fx platform tests (#8497) 2025-11-29 14:24:16 +01:00
Anton-4
c0dda7f9d6
ubuntu 22 run fx_platform tests (#8496)
* filter just fx_platform

* debug prints

* fmt, skip some tests

* just check matching CPU arch

* back to normal ci_zig.yml
2025-11-29 13:33:15 +01:00
Anton-4
a98bc715b1
fix PlatformNotSupported linux 2025-11-28 20:41:36 +01:00
Luke Boswell
c7980552fc remove unicode character not supported in all shells 2025-11-27 16:02:14 +11:00
Richard Feldman
3bd024ef39
Centralize lots of stuff in WellKnownIdents 2025-11-26 13:53:24 -05:00
Richard Feldman
e2fb02d28d
Automatically delete cache on rebuild-builtins 2025-11-26 08:57:02 -05:00
Richard Feldman
799304439d
Update sometests 2025-11-26 01:39:09 -05:00
Richard Feldman
8094070021
Add RocStr.eqlSlice and use it 2025-11-26 00:49:40 -05:00
Richard Feldman
6dfed5bc46
Report violations for string ops in interpreter 2025-11-26 00:07:08 -05:00
Richard Feldman
59d48f8c50
Ban findIdent usage in type-checking 2025-11-25 23:12:00 -05:00
Richard Feldman
914cec2d21
Avoid string stuff 2025-11-25 21:31:32 -05:00
Richard Feldman
5618ed0a7d
Improve violation detection 2025-11-25 20:36:38 -05:00
Richard Feldman
a456812d1f
Ban std.mem.* calls in type-checking and layout 2025-11-25 20:28:01 -05:00
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