Commit graph

4798 commits

Author SHA1 Message Date
Folkert
5150e9e819 make primitive tests work under wasm 2021-08-29 15:24:46 +02:00
Folkert
815a4f76a7 make more tests run under wasm 2021-08-29 15:18:25 +02:00
Folkert
b37cccaa01 run more tests with wasm 2021-08-29 13:32:08 +02:00
Folkert
de7db3e730 make more things infer as NAT 2021-08-29 13:31:55 +02:00
Richard Feldman
2ce84d2b84 Drop unused builtin utility 2021-08-28 21:26:57 -04:00
Richard Feldman
b3e6a248cf Cast to expect_failed in LLVM, not zig 2021-08-28 21:24:16 -04:00
Folkert
727222bbe7 hashing always returns a U64 2021-08-29 00:51:48 +02:00
Folkert
fdd34a5d3e zig remove explicit libc dep in 32-bit mode 2021-08-29 00:37:28 +02:00
Folkert
71c0a325ee wasm test harnass 2021-08-29 00:36:16 +02:00
Folkert
b57632e4cc pass list to zig according to c abi 2021-08-29 00:24:59 +02:00
Joshua Hoeflich
4e57b1edf2 Bump expect to run Rust fn 2021-08-28 11:10:02 -05:00
Folkert
0d7d006cd7 hooking things up 2021-08-28 17:58:05 +02:00
Joshua Hoeflich
93b77a840a Threading through null ptr 2021-08-28 10:57:52 -05:00
Joshua Hoeflich
8fc663b735 Expect no longer crashes 2021-08-28 10:08:12 -05:00
Folkert
72e6a34a0d proof of concept 2021-08-28 14:48:24 +02:00
Folkert
c6163a73f6 use environment size of pointer 2021-08-27 12:25:21 +02:00
Folkert
541c56adb7 emit .bc to the right place in wasm + debug mode 2021-08-27 12:24:08 +02:00
Folkert
8fa4e55c74 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-27 09:35:34 +02:00
Richard Feldman
18231876be
Drop comment 2021-08-26 21:39:46 -04:00
Richard Feldman
ffeaa1ac08
Merge branch 'trunk' into store-dec-as-str 2021-08-26 21:24:56 -04:00
Richard Feldman
11f2bc643a
Merge pull request #1629 from rtfeldman/layout-sort-ptr-bytes
Layout sort ptr bytes
2021-08-26 21:12:52 -04:00
Folkert
45f18ff74f use non-hardcoded alignment 2021-08-26 22:58:47 +02:00
Folkert
e95cf7dd5f use non-hardcoded alignment 2021-08-26 22:58:24 +02:00
Folkert
9bd3e8f96c Merge branch 'layout-sort-ptr-bytes' into wasm-cli-option 2021-08-26 22:37:36 +02:00
Folkert
ba2f20ccc5 fix test 2021-08-26 22:19:06 +02:00
Folkert
a070a7fcc7 add ptr_bytes to layout env 2021-08-26 22:12:44 +02:00
Folkert
af1051ef89 add ptr_bytes to the layout cache 2021-08-26 22:06:47 +02:00
Folkert
36fc9b5f1f update target-lexicon 2021-08-26 21:39:33 +02:00
Folkert
fca5463751 more faithfully implement the C abi
when generating llvm/roc functions for e.g. roc_fx_putLine
2021-08-26 21:22:21 +02:00
Jared Ramirez
ced4307b46 Fix can tests 2021-08-26 11:39:21 -07:00
Jared Ramirez
4b2a63fb30 Merge branch 'trunk' of https://github.com/rtfeldman/roc into store-dec-as-str 2021-08-26 11:23:17 -07:00
Jared Ramirez
8594f2efbe Change how decimals are stored in mono 2021-08-26 11:18:26 -07:00
Richard Feldman
bc5b8bfbba Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-25 23:05:53 -04:00
Richard Feldman
e675897aab
Merge branch 'trunk' into dict-32-bit 2021-08-25 18:01:11 -04:00
Folkert
b9cd254b9a allow 4byte alignment in dict values 2021-08-25 22:07:16 +02:00
Folkert
6a43be26d3 fix usize vs. u32/u64 conflict 2021-08-25 20:58:42 +02:00
Folkert
f04ad1643f fix some things 2021-08-25 20:54:34 +02:00
Folkert
05d2b8150f make dict functions work on 32bit platforms 2021-08-25 20:49:07 +02:00
Folkert
e99237e302 make Dict.empty C ABI safe 2021-08-25 20:48:58 +02:00
Folkert
4990e543fa make str/list C abi safe 2021-08-25 20:47:03 +02:00
Folkert
ce6ab15139 use usize instead of i64 in hash and compare 2021-08-25 20:47:03 +02:00
Folkert
69e4f6d208 make dict functions work on 32bit platforms 2021-08-25 20:47:03 +02:00
Folkert
8b67cf0676 fix usize vs. u32/u64 conflict 2021-08-25 20:47:03 +02:00
Folkert
e387403c19 make Dict.empty C ABI safe 2021-08-25 20:47:03 +02:00
Folkert
a4475b7544 make TestBase64 compile 2021-08-25 20:47:03 +02:00
Folkert
8846841a95 follow the C abi for effect functions the host exposes 2021-08-25 20:47:03 +02:00
Richard Feldman
205776f14e
Merge branch 'trunk' into wasm-cli-option 2021-08-25 01:09:37 -04:00
Brendan Hansknecht
0f9e735e60 Fix missed clippy warning from newer compiler 2021-08-24 19:32:24 -07:00
Brendan Hansknecht
5066b19901 Clippy lint and cleanup 2021-08-24 19:10:42 -07:00
Folkert
4be5780215 hash function returns u64! 2021-08-25 00:24:46 +02:00