Commit graph

6195 commits

Author SHA1 Message Date
Brendan Hansknecht
2466e2eb3b
Merge pull request #6356 from roc-lang/box-rc
Fix RC for unions with non-refcounted fields
2024-01-06 10:45:30 -08:00
Folkert de Vries
b5f2ac2b6d
Merge pull request #6358 from roc-lang/float-checked-llvm
32-bit float checked float operations assumed f64
2024-01-06 18:32:34 +01:00
Brendan Hansknecht
607d2d6adc
stop overwritting manually set file extensions 2024-01-06 09:10:23 -08:00
Brendan Hansknecht
a2fcf76164
make sure that union refcounting branches to the decrement block 2024-01-06 08:34:46 -08:00
Folkert
9c94930d6a
32-bit float checked float operations assumed f64 2024-01-06 16:05:01 +01:00
Folkert
f3abb3b466
add instructions to the right block 2024-01-06 15:52:53 +01:00
Brendan Hansknecht
88bac5eba7
ensure unions get freed even if they have no RC fields (hit when using box) 2024-01-05 22:20:58 -08:00
Folkert
05c8521211
clippy 2024-01-02 22:39:59 +01:00
Folkert
33dfd5d27d
cleanup 2024-01-02 22:28:57 +01:00
Folkert
7a365eb88f
enable even more dev-backend num tests 2024-01-02 22:23:47 +01:00
Folkert
b7a41bcb3e
enable many more dev-backend num tests 2024-01-02 21:30:49 +01:00
Folkert
6c521555ea
decimal division in dev backend 2024-01-02 19:53:13 +01:00
Folkert
4bcd195b92
implement NumSub (that panics) in the dev backend 2024-01-02 19:47:17 +01:00
Folkert
cfdfbe18a4
implement panic on overflow for mul in the dev backend 2024-01-02 15:56:28 +01:00
Anton-4
c85a25e320
clippy fixes 2024-01-01 19:19:44 +01:00
Anton-4
3041da46f3
Merge branch 'main' of github.com:roc-lang/roc into rust-1-72-upgrade 2024-01-01 19:03:17 +01:00
Ayaz
865eff1956
Merge pull request #6331 from roc-lang/clippy-unnecessary-hashes
fix clippy (1.72.1) unnecessary hashes
2024-01-01 11:26:07 -06:00
Anton-4
5f1c383aa0
fmt 2024-01-01 17:11:46 +01:00
Anton-4
1126f85b5a
fix clippy unnecessary hashes 2024-01-01 16:38:36 +01:00
Anton-4
728f36cff8
crate upgrades for ahash issue
cli_run::static_site_gen was hitting 'use of unstable library feature stdsimd' when compiling ahash. ahash was a dependency of hashbrown 0.13.2.
2023-12-30 16:16:22 +01:00
Anton-4
26f0448a94
rust 1.71.1 -> 1.72.1 2023-12-27 17:27:03 +01:00
Richard Feldman
7952fa2e73
Delete unused arena-pool crate 2023-12-26 10:59:14 -05:00
Anton-4
cd632fe549
Merge branch 'main' of github.com:roc-lang/roc into clippy-1.74 2023-12-25 17:05:37 +01:00
Anton-4
cf96010543
update to basic-cli 0.7.1 2023-12-23 16:54:59 +01:00
JRI98
689a1ff352
Fix list rest bind in when branch tuple destructure 2023-12-21 11:55:29 +00:00
Bryce Miller
a710dd18ac
Merge branch 'main' into list-walk-with-index-until 2023-12-18 17:25:06 +01:00
Bryce Miller
12d1d7386b
modify test to sidestep wasm gen bug 2023-12-18 11:24:11 -05:00
Brendan Hansknecht
2955b00bb5
Merge branch 'main' into luke-windows 2023-12-14 08:59:53 -08:00
Ayaz
4952f5e1d0
Merge pull request #6257 from roc-lang/fix-unknown-dot-roc
Replace UNKNOWN.roc in reports with real filename
2023-12-13 22:02:17 -06:00
Richard Feldman
4b743c8878
Replace UNKNOWN.roc in reports with real filename 2023-12-13 21:20:26 -05:00
Anton-4
24d042f18e
Merge pull request #6275 from roc-lang/better-mono-error
more visible+better mono error
2023-12-13 21:29:39 +01:00
Richard Feldman
22060a2b3f
Merge pull request #6272 from dotslashbit/fix-num-format
Fix: #6261 Removed all the mentions of Num.format
2023-12-13 15:11:36 -05:00
Anton-4
eaa085fa93
more visible+better mono error 2023-12-13 17:38:20 +01:00
Sahil Mahapatra
b2ceeb47d9 removed all the mentions of Num.format 2023-12-13 18:51:01 +05:30
Anton-4
384cf2decf
add __udivti3 to must_keep
Fixes Undefined Symbol in relocation...
2023-12-13 12:09:15 +01:00
Bryce Miller
99e596c4a0
don't run test for gen_wasm 2023-12-12 20:54:27 -05:00
Brendan Hansknecht
ec6d8142e7
Re-enable early DCE with fix for M1 mac
I won't claim to know why `__muloti4` is special, but none of the other compiler-rt functions are,
but seems to work and stop tests from hanging.

It also enables early DCE again which saves a tiny bit of compile time.
2023-12-12 10:43:14 -08:00
Bryce Miller
8dbdd308c7
re-run test-mono 2023-12-12 07:56:30 -05:00
Bryce Miller
2db4cae9d1
Merge branch 'main' into list-walk-with-index-until 2023-12-12 07:54:42 -05:00
Bryce Miller
80dd0b6b93
run test_mono 2023-12-12 07:42:18 -05:00
Luke Boswell
1051ba6569
cargo fmt 2023-12-12 21:15:17 +11:00
Bryce Miller
89febf52bc
Merge branch 'main' into list-walk-with-index-until 2023-12-11 23:13:21 -05:00
Bryce Miller
59eb28ef58
Add builtin List.walkWithIndexUntil 2023-12-11 23:04:40 -05:00
Brendan Hansknecht
0e842fd844
update formatting, uitest, and mono_test 2023-12-11 18:22:53 -08:00
Brendan Hansknecht
65ce79c1c5
correct Dict.update to use proper index 2023-12-11 15:35:19 -08:00
Richard Feldman
95a4bb988c
Merge pull request #6255 from roc-lang/glue-panic-handler
make glue use a setjmp/longjmp panic handler
2023-12-11 16:33:26 -05:00
Richard Feldman
67d7385b9a
Clean up some obsolete asserts 2023-12-11 15:15:59 -05:00
Folkert
d2d87949c8
remove random write to pointer 2023-12-11 21:07:15 +01:00
Folkert
590282b14f
make glue use a setjmp/longjmp panic handler 2023-12-11 20:33:21 +01:00
Brendan Hansknecht
fb049b661a
Remove early DCE of builtins
Early DCE was sometimes cleaning up functions that we actaully still needed.
At some point we can come back to it and try to properly protect all special functions.
Until then, this still enables DCE, but it runs later with the full generated Roc module.
2023-12-11 10:44:57 -08:00