Commit Graph

26415 Commits

Author SHA1 Message Date
Richard Feldman
a96752a65a
Add --output CLI flag for roc docs 2023-10-19 17:21:27 -04:00
Richard Feldman
77d2136d00
Merge pull request #5913 from roc-lang/dev-builds-lines-only
default to `line-tables-only`
2023-10-17 15:21:49 -04:00
Folkert
47d4335cda
cleanup test-gen-dev macro code 2023-10-17 20:02:00 +02:00
Folkert
c8bbb55111
switch to only lines for debug info by default 2023-10-17 20:00:58 +02:00
Folkert de Vries
5940ae6f28
Merge pull request #5911 from roc-lang/to-cc-fix
Quick C ABI fix
2023-10-17 15:25:25 +02:00
Richard Feldman
c5ec8aba4f
Fix to_cc_type a bit 2023-10-17 06:40:16 -04:00
Richard Feldman
54c4ddd700
Merge pull request #5908 from roc-lang/miri-fixes
roc_std: fixes found by running miri
2023-10-16 19:53:55 -04:00
Richard Feldman
ff6586bf9f
Merge pull request #5906 from roc-lang/fix-panic-handling
Improve what happens when mono panics
2023-10-15 22:03:45 -04:00
Richard Feldman
2019909922
Use concat! to break up a long string literal 2023-10-15 20:32:20 -04:00
Richard Feldman
1f1b981110
Fix for future clippy 2023-10-15 20:22:03 -04:00
Folkert
f717cb75a9
clippy 2023-10-15 21:06:23 +02:00
Folkert
72d5b64c6f
clippy 2023-10-15 20:26:02 +02:00
Folkert
d4e77856fe
roc_std: fixes found by running miri 2023-10-15 20:12:06 +02:00
Richard Feldman
f2782e94d5
clippy 2023-10-14 21:49:07 -04:00
Richard Feldman
73f3250b8f
Don't report unhelpful things. 2023-10-14 21:49:06 -04:00
Richard Feldman
08c6a044c4
Improve error handling when mono panics 2023-10-14 21:49:06 -04:00
Richard Feldman
f0a91b8ce1
Add some debug assertions 2023-10-14 21:49:06 -04:00
Richard Feldman
eb135637ef
Compute total_problems rather than asking for it 2023-10-14 21:49:06 -04:00
Richard Feldman
97f252c68b
Fix shut_down_worker_threads! in presence of panic 2023-10-14 21:49:06 -04:00
Richard Feldman
8ee88ba7cb
Minor cleanups 2023-10-14 21:49:06 -04:00
Richard Feldman
a13a3231c7
Exit the process instead of deadlocking on panic 2023-10-14 21:49:05 -04:00
Brendan Hansknecht
23624ac7d9
Merge pull request #5905 from isaacvando/add-str-contains
Add Str.contains to builtins
2023-10-14 14:22:07 -07:00
Isaac Van Doren
3df2ace4a6
add test_mono files 2023-10-14 15:38:31 -05:00
Isaac Van Doren
886b855594
add Str.contains to builtins 2023-10-14 14:56:51 -05:00
Brendan Hansknecht
1c37d8adb1
Merge pull request #5899 from roc-lang/fix-large-code-model-bug
Choose CodeModel using roc target, not Rust target
2023-10-10 20:58:22 -07:00
Richard Feldman
ebd1b16597
Choose CodeModel using roc target, not Rust target 2023-10-10 20:33:27 -04:00
Richard Feldman
3f7592ce67
Merge pull request #5898 from roc-lang/enable-macos-dev-repl
enable dev backend repl on macos (x86_64 and aarch64)
2023-10-10 12:45:14 -04:00
Richard Feldman
b4085b1106
Merge pull request #5897 from roc-lang/dev-backend-eq-void
Dev backend: eq void
2023-10-10 12:45:04 -04:00
Richard Feldman
6c10a6a8aa
Merge pull request #5893 from mulias/em/list-chunks-of
builtin(list): add List.chunksOf
2023-10-10 09:25:10 -04:00
Folkert
7bcff253be
enable dev backend repl on macos (x86_64 and aarch64) 2023-10-10 15:12:50 +02:00
Folkert
fee4e94eb0
enable the full dev backend test suite on apple silicon 2023-10-10 14:28:48 +02:00
Folkert
ecf7066e6c
dev backend: provide a hardcoded implementation for equality on VOID 2023-10-10 14:28:43 +02:00
Luke Boswell
3caa8cc2f7
Merge pull request #5839 from roc-lang/aarch-records
AArch64: tuple tests, function pointers and bug fixes
2023-10-10 21:30:06 +11:00
Folkert
beed1e3d6e
account for the tag id when doing a memcpy 2023-10-09 17:55:30 +02:00
Folkert
c0d67edfd3
cleanup 2023-10-09 15:40:28 +02:00
Folkert
b39c592bea
realize all list elements on the stack before writing to the list 2023-10-09 15:24:46 +02:00
Folkert
9118eeac0c
store registers at negative offset vs. the base pointer 2023-10-09 15:24:45 +02:00
Folkert
5368c145cd
make stack cleanup symmetric
we were doing things relative to the base pointer, but it got moved back to the caller's base pointer before use. this caused stack corruption
2023-10-09 15:24:45 +02:00
Folkert
7c67f8aafb
some debugging logs 2023-10-09 15:24:45 +02:00
Folkert
be2c31fe91
more detail 2023-10-09 15:24:44 +02:00
Folkert
ef64e37b9b
use stdlib functions instead of intrinsics 2023-10-09 15:24:44 +02:00
Folkert
be81651299
fix valgrind issue in roc_std 2023-10-09 15:24:44 +02:00
Folkert
a4e314593f
actually do not pass the shadow space size 2023-10-09 15:24:43 +02:00
Folkert
c2216dfc9f
the actual fix 2023-10-09 15:24:43 +02:00
Folkert
734cfe9bce
fix how registers are stored/loaded before a function call 2023-10-09 15:24:43 +02:00
Folkert
6510591b60
fix the order 2023-10-09 15:24:42 +02:00
Folkert
ae4df42eab
another attempt 2023-10-09 15:24:42 +02:00
Folkert
968fc04d93
an attempt 2023-10-09 15:24:42 +02:00
Folkert
11bd8445b2
load stack arguments from the right location 2023-10-09 15:24:41 +02:00
Folkert
46e8328056
add test that exhausts argument registers 2023-10-09 15:24:41 +02:00