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
Luke Boswell
4d6546f5b0
fixes for Windows gen_num
2023-12-11 22:10:34 +11:00
Brendan Hansknecht
3120dee509
Merge pull request #6238 from roc-lang/dict-follow-up
...
Dict follow up and addition of releaseExcessCapacity
2023-12-11 02:15:44 -08:00
Brendan Hansknecht
ec3b916c8f
Merge pull request #6249 from roc-lang/refcount-ptr-naming-cleanup
...
Cleanup list and str builtin naming from refcount to allocation
2023-12-11 00:19:35 -08:00
Brendan Hansknecht
f262102299
cleanup list and str builtin naming from refcount to allocation
2023-12-10 19:52:28 -08:00
Brendan Hansknecht
156a462f1d
update uitest and mono_test
2023-12-10 11:24:22 -08:00
ptaszor3
58b73ae257
Fixed some formatting
2023-12-10 19:58:23 +01:00
Brendan Hansknecht
199e84e91e
add some missed symbols that roc needs
2023-12-10 19:58:22 +01:00
Brendan Hansknecht
eeeccfb143
fix dce of compiler-rt
2023-12-10 19:58:22 +01:00
Brendan Hansknecht
75aa84f825
Remove hashflooding comment
...
I think for now it is not worth considering adding hashflooding mitigation to the Roc Dict.
1. Wyhash is a secure enough has to pass SMHasher.
2. Languages like Go use wyhash in production and have not seen hashflooding issues.
3. We do have a random seed that Dicts use that changes per application linking. (Could monomorphize on Dict type for more randomness)
4. Any sort of fallback checks will lead to worse performance in the normal case.
5. A reasonable http server or app can limit the size of JSON or number of HTTP headers to accept.
2023-12-10 19:58:21 +01:00