Commit graph

7974 commits

Author SHA1 Message Date
Folkert
78f5526db3
add storage subs to ExposedModuleTypes 2022-03-11 10:15:33 +01:00
Folkert
28abf5b1b8
store exposed values as storage subs 2022-03-11 10:12:25 +01:00
Folkert
fc5e09a9e3
use Vec instead of ImSet 2022-03-11 09:52:44 +01:00
Folkert
affacb66be
optimize Type::symbols() 2022-03-11 09:51:06 +01:00
Brian Carroll
e4829b5b85 mono: Update Str refcount helpers to account for capacity field 2022-03-11 08:34:27 +00:00
Brian Carroll
a9e0ff6b4b wasm: update small string tests to expect 12 bytes 2022-03-11 08:34:27 +00:00
Brendan Hansknecht
cdf19e3feb
Merge pull request #2698 from rtfeldman/i/2696
Make sure casting to unsigned types performs zero-extension
2022-03-10 20:10:33 -08:00
hafiz
8679904fc3
Disable wasm test for now 2022-03-10 18:19:27 -06:00
ayazhafiz
a90bba3d1d Make sure casting to unsigned types performs zero-extension
Closes #2696
2022-03-10 17:39:37 -06:00
Brian Carroll
4878c701ae Fix Zig builtins for 32-bit targets 2022-03-10 23:26:58 +00:00
Folkert
4ce7221c39
optimize Type::symbols() 2022-03-10 22:29:37 +01:00
Folkert
d222be95b3
fix another merge conflict 2022-03-10 21:38:31 +01:00
Folkert
be214b7931
fix merge conflict 2022-03-10 21:37:33 +01:00
Folkert
e90c12ba1f
Merge remote-tracking branch 'origin/trunk' into box-all-the-things 2022-03-10 18:01:09 +01:00
Folkert de Vries
7fc1272840
Merge pull request #2692 from rtfeldman/walk-return-tag
`List.walk` return tag
2022-03-10 10:12:42 +01:00
Brian Carroll
20f6330f72 wasm: Fix Str.isEmpty for capacity 2022-03-10 06:59:15 +00:00
hafiz
44453d92c5
Merge pull request #2691 from rtfeldman/llvm-convert-tag
clarify `basic_type_from_layout function`
2022-03-09 20:27:50 -06:00
Folkert
f8ca0694e5
Revert "make type conversion work on 32-bit architectures"
This reverts commit 381ec9c01b.
2022-03-10 00:04:34 +01:00
Folkert
381ec9c01b
make type conversion work on 32-bit architectures 2022-03-09 23:10:07 +01:00
Folkert
98b2ed5d60
add test 2022-03-09 23:07:24 +01:00
Folkert
de6349fbbd
don't double-alloca non-recursive tags 2022-03-09 22:54:56 +01:00
Brian Carroll
0c6fef0ba3 wasm: Generate Str literals with capacity 2022-03-09 21:18:30 +00:00
Folkert
19c46916d9
fix zig string tests
mostly, strings that were small before are now not, so I had to increase the string lengths
2022-03-09 19:25:51 +01:00
Folkert
82dddf4c3a
add capacity field to make tests compile 2022-03-09 19:21:11 +01:00
Folkert
29e053abf3
clarify basic_type_from_layout function 2022-03-09 19:01:03 +01:00
Folkert
5d15166bb5
rename 2022-03-09 16:33:36 +01:00
Folkert
10b190917b
bump mono tests after List.replace being used in List.set 2022-03-09 16:15:36 +01:00
Folkert
768703c5df
update reporting; suggestions now have Box in scope 2022-03-09 16:12:11 +01:00
Folkert de Vries
59378d35c6
Update compiler/mono/src/borrow.rs
Co-authored-by: hafiz <20735482+ayazhafiz@users.noreply.github.com>
2022-03-09 15:08:13 +01:00
Folkert
07063a8e18
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-09 14:36:34 +01:00
Anton-4
56dc06a139
fixed the previous formatting change when inside longer pipeline 2022-03-09 14:07:52 +01:00
Folkert
574f14522d
placeholders in the wasm code 2022-03-09 00:04:23 +01:00
Folkert
6543c9bbc6
Merge remote-tracking branch 'origin/trunk' into box-all-the-things 2022-03-09 00:00:15 +01:00
Folkert
76a118db14
fix needles cloning of ident_ids 2022-03-08 23:53:57 +01:00
Folkert
831a90e310
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-03-08 22:36:06 +01:00
Folkert
be28ee2a64
add test 2022-03-08 22:21:37 +01:00
Folkert
a3d56bce3a
layout of Box a 2022-03-08 22:21:25 +01:00
Folkert
f2b8c89878
clippy 2022-03-08 22:21:13 +01:00
Folkert
4cca0b3b3c
llvm codegen 2022-03-08 22:21:03 +01:00
Folkert
f9c1af1dc4
alias analysis 2022-03-08 22:20:40 +01:00
Folkert
92f2927046
initial implementation 2022-03-08 19:09:42 +01:00
Anton-4
ba5d47d270
Merge branch 'trunk' of github.com:rtfeldman/roc into roc_fmt_fixes 2022-03-08 13:57:20 +01:00
Anton-4
dd85caa85a
removed redundant derefs 2022-03-08 13:56:43 +01:00
Brian Carroll
70804e9bec Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error 2022-03-08 08:58:15 +00:00
Brian Carroll
7e0b439ef5 test_gen: add missing #[test] attribute 2022-03-08 08:57:52 +00:00
Brian Carroll
9ae26c5aac wasm: use __data_end to account for all constant data including zero (bss) data 2022-03-08 08:56:34 +00:00
Brian Carroll
4d14fbf562 wasm: use a debug-friendly enum for refcount tests 2022-03-08 07:43:01 +00:00
Jan Van Bruggen
a2f2434d71 Rename hello-world to hello-c 2022-03-07 19:59:30 -07:00
Jan Van Bruggen
99c825aa99 Simplify example platform names 2022-03-07 19:59:29 -07:00
Derek Gustafson
c65e3d2bae
Fix how dec is formatted in mono ir. 2022-03-07 16:17:59 -05:00