Commit graph

5021 commits

Author SHA1 Message Date
Ayaz Hafiz
b3966a588a
Fix compilation of addChecked for Dec 2023-06-06 17:48:41 -05:00
Ayaz Hafiz
80a98668d5
Fix type errors 2023-06-06 16:07:51 -05:00
Ayaz Hafiz
7df3d191d5
Update ability tests 2023-06-06 16:05:13 -05:00
Ayaz Hafiz
4e690103b0
Use larger stacks for some mono tests 2023-06-06 16:05:12 -05:00
Ayaz Hafiz
c0e52f9e54
Fix mono tests 2023-06-06 16:04:43 -05:00
Ayaz Hafiz
9187286580
Fix mono output 2023-06-06 16:04:42 -05:00
Ayaz Hafiz
1b9b6d89e4
Add test for specializing newtype records uniquely
Closes #5252
2023-06-06 16:04:42 -05:00
Ayaz Hafiz
a6b3656471
Begin generating newtype wrappers for struct layouts 2023-06-06 16:04:41 -05:00
Ayaz Hafiz
57bd0d29d6
Be sure to preserve layout wrappers during reification 2023-06-06 16:03:53 -05:00
Ayaz Hafiz
9a8d138424
eq_repr should chase under reprs 2023-06-06 16:03:53 -05:00
Ayaz Hafiz
5274dbcd00
Add a Newtype variant to LayoutWrapper 2023-06-06 16:03:52 -05:00
Ayaz Hafiz
457cdabc5c
Make repr private and accessible only via the interner 2023-06-06 16:01:27 -05:00
Ayaz Hafiz
100e8e34e0
Use a larger stack for a test that fails without it 2023-06-06 15:51:41 -05:00
Ayaz Hafiz
e2482c8b1d
Unused var 2023-06-06 15:48:01 -05:00
Bryce Miller
29561372de
merge main 2023-06-05 20:21:44 -04:00
Bryce Miller
cb08225bf0
| -> where 2023-06-05 20:19:00 -04:00
Richard Feldman
107c6b0777
Merge pull request #5518 from JTeeuwissen/DecRef-invalid-value_ptr
DecRef union clear tag id
2023-06-05 14:37:19 -04:00
Ayaz
f582057b34
Merge pull request #5498 from fdbeirao/nice-messages-for-https-errors
Nice messages for https errors
2023-06-05 09:39:58 -05:00
J.Teeuwissen
21d4b61fca
DecRef union clear tag id 2023-06-05 14:55:37 +02:00
Fábio Beirão
3482bb0108
Adjust the conditional imports to the fact that wasm doesn't use https for packages 2023-06-05 10:50:06 +02:00
Richard Feldman
612877036a
Merge pull request #5500 from roc-lang/builtin-memcpy-memset
Builtin memcpy
2023-06-04 09:27:51 -04:00
Luke Boswell
d9a5fe9034
roc format 2023-06-04 18:24:14 +10:00
Luke Boswell
c1ff49be6c
change just Json module name 2023-06-04 17:37:01 +10:00
Brendan Hansknecht
829b71aa1f
fully take ownership of memcpy in the builtins 2023-06-03 19:05:19 -07:00
Ayaz Hafiz
6702efaf29
Differentiate generating final IR and dumping it to an object in cgen
So that we can see how much time it takes to build LLVM IR vs run it
through LLVM. For the dev backends this is immaterial
2023-06-03 17:54:09 -05:00
J.Teeuwissen
d8f1b1bfe4
removed refcount type from proc 2023-06-03 19:25:13 +02:00
Brendan Hansknecht
a745b57fb2
move cpuid functions into separate assembly file 2023-06-02 16:16:40 -07:00
Brendan Hansknecht
b899b54354
change assembly comment style to hopefully fix windows 2023-06-02 15:54:08 -07:00
Brendan Hansknecht
341ef9bb7b
prefix assembly functions with _ on macos 2023-06-02 15:26:39 -07:00
Brendan Hansknecht
60babcc56e
fix typo 2023-06-02 15:23:07 -07:00
Brendan Hansknecht
7b8bd988d4
change to more specific .balign assembly attribute 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
60e70c6b1b
add workaround for wasm tests 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
8eed06c3e1
avoid repeated calls to cpuid, it is slow 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
718b7f0ce2
setup memcpy dispatch on every call for now 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
ebc6bd3f45
add more impls and memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
0e2c3e4723
add actual folly implementation of memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
77624f627b
better extract musl lib 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
159f95aad1
add musl memcpy and avx2 dispatching 2023-06-02 15:23:04 -07:00
Brendan Hansknecht
ca9938bf7c
add memcpy impl to builtins 2023-06-02 15:23:04 -07:00
Fábio Beirão
03eb89a721
Use the https problem reports when something goes wrong while downloading a package
Contributes to #5487
2023-06-02 14:09:41 +02:00
Bryce Miller
fd846b9a7a
increase stack size for debug tests 2023-06-02 07:53:52 -04:00
Bryce Miller
b4aa4a9089
Fix syntax derp 2023-06-02 07:53:38 -04:00
Fábio Beirão
60df1b4603
Run cargo fmt --all
Contributes to #5487
2023-06-02 12:41:43 +02:00
Fábio Beirão
273b7c07c1
Initial plumbing to be able to show https errors
Related to #5487
2023-06-02 11:40:32 +02:00
Brendan Hansknecht
58067f936a
Merge pull request #5466 from KilianVounckx/list-update
Add List update function
2023-06-02 09:03:22 +00:00
Bryce Miller
7e8a151604
Merge branch 'main' into abilities-syntax 2023-06-01 12:57:16 -04:00
Kilian Vounckx
7f5e6299ab
Generate tests 2023-06-01 18:40:31 +02:00
Folkert de Vries
e59404b6fa
Merge pull request #5495 from roc-lang/dev-backend-nullable-wrapped
Dev backend nullable wrapped
2023-06-01 17:11:14 +02:00
Brendan Hansknecht
121d15a2a6
Merge pull request #5423 from roc-lang/dev-backend-linked-list
Dev backend linked list
2023-06-01 13:59:28 +00:00