Commit graph

4768 commits

Author SHA1 Message Date
Folkert
ea9b23cda8 start using zig9 as the name for trunk zig 2021-09-06 22:25:35 +02:00
Folkert
3fb6736f7c clarify comment 2021-09-06 22:23:23 +02:00
Folkert
0865826364 Merge remote-tracking branch 'origin/trunk' into wasm-base64 2021-09-06 22:17:52 +02:00
Richard Feldman
fd7c267ddb
Merge pull request #1675 from rtfeldman/list-literals
List literals in globals
2021-09-05 23:02:31 -04:00
Richard Feldman
ebd47a4113
Merge pull request #1674 from rtfeldman/from-wasm32-memory
From wasm32 memory
2021-09-05 22:19:20 -04:00
Folkert
05f56a34c7 cleanup 2021-09-05 21:23:08 +02:00
Folkert
6201ac5e6b if all constants, store list + refcount in constants section 2021-09-05 21:23:08 +02:00
Folkert
da966ed506 store integer lists in the constants section 2021-09-05 21:23:08 +02:00
Folkert
12bc34f451 clippy 2021-09-05 21:23:08 +02:00
Folkert
b97c2d5d84 store literals in lists directly 2021-09-05 21:23:08 +02:00
Folkert
8e7aef314a add ListLiteralElement 2021-09-05 21:23:08 +02:00
Folkert
dbee9dd0ce cleanup 2021-09-05 14:19:21 +02:00
Folkert
71ce267f59 debug_assert 2021-09-05 14:10:13 +02:00
Folkert
b3b2e7de11 remove faulty instance 2021-09-05 14:09:15 +02:00
Folkert
f8809a3eef rename wasm -> wasm32 2021-09-05 14:08:14 +02:00
Folkert
2e6bf95fda enable wasm TestBase64 2021-09-04 20:01:06 +02:00
Folkert
93817a38e2 convert zig struct to roc record 2021-09-04 16:41:29 +02:00
Folkert
9713645806 only round up to 2*usize on 32-bit platforms 2021-09-04 16:00:22 +02:00
Folkert
1d17a21d1f higher alignment requirement on rocstr/roclist 2021-09-04 15:18:37 +02:00
Folkert
3adfbf3459 fix bug in realloc on 32-bit platforms 2021-09-04 13:46:30 +02:00
Folkert
aaed62dad3 always pick musl as libc 2021-09-04 13:26:42 +02:00
Richard Feldman
d323869e7f
Merge pull request #1659 from rtfeldman/gen-dev/cleanup
Refactor dev backend to deal with layouts within specific backends.
2021-09-03 22:22:58 -04:00
Richard Feldman
5603e143ad
Merge pull request #1661 from rtfeldman/linux-32-bit
32-bit linux
2021-09-03 22:10:28 -04:00
Richard Feldman
6b2ece4094
Merge pull request #1660 from rtfeldman/tag-alignment-fix
Tag alignment fix
2021-09-03 21:52:57 -04:00
Folkert
b72726b367 clippy 2021-09-04 01:39:59 +02:00
Folkert
3fbdc743ec link 32-bit x86 on linux 2021-09-04 01:32:12 +02:00
Folkert
a7eeae05ca support i386 (no linking yet) 2021-09-04 01:31:33 +02:00
Folkert
2954b582a7 layout add allocation_alignment_bytes 2021-09-04 00:21:14 +02:00
Folkert
97577c92cf layout add allocation_alignment_bytes 2021-09-04 00:03:10 +02:00
Folkert
63c488acd8 check whether a pointer actually stores the tag id in the bits 2021-09-03 23:58:41 +02:00
Folkert
0ae2c5fe19 check whether a pointer actually stores the tag id in the bits 2021-09-03 23:47:05 +02:00
Folkert
2931427870 Merge remote-tracking branch 'origin/trunk' into linux-32-bit 2021-09-03 21:10:51 +02:00
Brendan Hansknecht
ad974dd473 Add extra commentabout unsafe usage 2021-09-03 11:00:27 -07:00
Brendan Hansknecht
d9d0d0c0af Refactor dev backend to deal with layouts within specific backends. Just check constraints at high level 2021-09-03 10:54:51 -07:00
Richard Feldman
3364ea00e0 Only print warnings if there are no errors 2021-09-02 22:24:48 -04:00
Richard Feldman
69bafb4e17 clippy 2021-09-02 22:08:09 -04:00
Richard Feldman
5d77aca738 Fix reporting tests 2021-09-02 21:59:13 -04:00
Richard Feldman
828c5191cf Print a horizontal rule after the last error 2021-09-02 21:59:13 -04:00
Richard Feldman
1360b04227 Add severity to file loading reports 2021-09-02 21:59:13 -04:00
Richard Feldman
a1e7610709 Add severity to mono reports 2021-09-02 21:59:13 -04:00
Richard Feldman
70939f1d6a Add severity to parse problem reports 2021-09-02 21:59:13 -04:00
Richard Feldman
ee6c246b07 Add severity to type problem reports 2021-09-02 21:59:13 -04:00
Richard Feldman
c711f0bbc7 Report severity and custom titles in can::Problem 2021-09-02 21:59:13 -04:00
Richard Feldman
71af5c5a1a Add severity to Report 2021-09-02 21:59:13 -04:00
Folkert
cde8f5cbd4 optimize RC 2021-09-02 21:29:24 +02:00
Folkert
4e39543054 simplify/optimize decref logic 2021-09-01 23:07:56 +02:00
Folkert
7aac6b6750 cleanup 2021-09-01 22:52:39 +02:00
Folkert
98c672bbde pipe target information through 2021-09-01 21:50:59 +02:00
Folkert
d8d4522b16 cleanup 2021-09-01 20:27:48 +02:00
Folkert
85e4afefe8 quick fix for failing expects on wasm 2021-09-01 17:22:57 +02:00