roc/crates/compiler/gen_wasm/src
Brendan Hansknecht 93fab26c01
Add a RocRefcounted trait in roc_std
This is required to properly handle refcounting of RocList.
Without it, we can't tell if we need to get the length from the heap.
That said, it isn't a pretty solution.

I think dealing with generating bespoke type in glue would feel nicer than this but be much more work.
It also would deal with the issue of implementations in the bitcode not matching external libraries.
That said, it would require exposing way more symbols from roc for each monomophorphized list variant.
2024-07-13 10:39:51 -07:00
..
backend.rs Use roc_target over target_lexicon 2024-03-31 10:50:26 -07:00
code_builder.rs Support formatting strings in error macros 2024-06-29 21:09:17 -04:00
layout.rs wasm: delete CallConv, since now Zig==C (hopefully) 2023-10-23 13:50:31 -07:00
lib.rs Use roc_target over target_lexicon 2024-03-31 10:50:26 -07:00
low_level.rs PR: rename to List.concatUtf8 2024-06-08 13:36:20 +02:00
storage.rs Trim load_symbols_for_call 2023-11-05 23:55:26 +00:00
wasm32_result.rs Add a RocRefcounted trait in roc_std 2024-07-13 10:39:51 -07:00
wasm32_sized.rs Add a RocRefcounted trait in roc_std 2024-07-13 10:39:51 -07:00