Commit graph

3608 commits

Author SHA1 Message Date
Folkert
52d339463a
make OptLevel configurable in gen test code gen 2022-07-06 00:19:13 +02:00
Folkert
ddead4dfcc
RocCallResult::new 2022-07-06 00:18:45 +02:00
Folkert
b2b0653592
fix accepting a list as an argument in a test platform 2022-07-06 00:18:20 +02:00
Brendan Hansknecht
d9c651898b
clippy 2022-07-05 13:37:10 -07:00
Folkert
3360d9e5cd
recurse correctly 2022-07-05 22:06:49 +02:00
Brendan Hansknecht
c10ddf8594
fix accidental nested directory in lib 2022-07-05 11:12:30 -07:00
Brendan Hansknecht
1dd8b16e12
grab str.zig path from lib folder relative to exe 2022-07-05 10:57:32 -07:00
Brendan Hansknecht
4220b02913
setup copying zig bitcode to the target directory 2022-07-05 10:44:24 -07:00
Folkert
2debf2629d
start using criterion in the test_gen crate 2022-07-05 17:29:26 +02:00
Folkert
a9d296b21c
add run_roc_dylib, which can take an argument 2022-07-05 17:25:39 +02:00
Folkert
93db29faf0
add option for debugir LLVM debug info in gen tests 2022-07-05 17:20:10 +02:00
Folkert
0d8fc5f2da
put platform functions (roc_alloc etc) in a module 2022-07-05 17:10:32 +02:00
Folkert
9c856fd5ae
updates for clippy 1.62 2022-07-05 12:39:27 +02:00
Folkert
68de9723cd
fix incorrect tag name 2022-07-05 11:33:53 +02:00
Folkert
36c8723214
update mono tests 2022-07-05 00:52:10 +02:00
Folkert
f86f2e2bdd
format 2022-07-05 00:51:10 +02:00
Folkert
6095dcff66
Merge remote-tracking branch 'origin/trunk' into list-unreachable 2022-07-04 19:21:31 +02:00
Folkert
2293aa2a91
fix mono tests 2022-07-04 18:02:37 +02:00
Folkert
6d7c329698
Str.walkScalars 2022-07-04 18:01:19 +02:00
Folkert
1de9270ecf
Merge remote-tracking branch 'origin/trunk' into str-walk 2022-07-04 16:30:07 +02:00
Folkert
9c41a4d442
str.appendScalar 2022-07-04 16:27:04 +02:00
Brian Carroll
62e93dd921
wasm: enable test for List.mapWithIndex 2022-07-04 15:14:52 +01:00
Brian Carroll
40231535fa
builtins: Delete Zig implementation of List.mapWithIndex 2022-07-04 15:14:32 +01:00
Brian Carroll
a5a85d7d73
mono: delete HigherOrder variant ListMapWithIndex 2022-07-04 15:10:31 +01:00
Brian Carroll
eb2ac4c82b
module: delete LowLevel enum variant ListMapWithIndex 2022-07-04 15:07:12 +01:00
Brian Carroll
a129e0458c
can: delete AST implementation of List.mapWithIndex 2022-07-04 15:06:45 +01:00
Brian Carroll
557ae4dd9c
builtins: Implement List.mapWithIndex in pure Roc 2022-07-04 14:57:18 +01:00
Folkert
ab721dd3c1
Str.reserve 2022-07-04 14:57:20 +02:00
Folkert de Vries
4523e90bc7
Merge pull request #3398 from rtfeldman/wasm-str-full-coverage
Wasm Str: 100% tests passing
2022-07-04 14:51:52 +02:00
Folkert
f7b8094dfb
expose countUtf8Bytes 2022-07-04 13:59:19 +02:00
Folkert
a9ba08d8cb
appendScalar zig implementation 2022-07-04 13:58:39 +02:00
Folkert
4f965ec263
fix RocStr.capacity() in zig 2022-07-04 13:39:51 +02:00
Folkert de Vries
e0b5f16516
Merge pull request #3390 from rtfeldman/clean
Leftover file cleanup
2022-07-04 13:19:20 +02:00
Folkert de Vries
1441e8c347
Merge pull request #3392 from rtfeldman/wasm-boxed-eq-and-refcount
Dev backends: Eq and refcount for Boxed layout
2022-07-04 13:17:37 +02:00
Brian Carroll
f4ed7e086e
wasm: turn off debug features 2022-07-04 12:13:10 +01:00
Brian Carroll
fdc0851883
wasm: fix Str.fromUtf8Range 2022-07-04 11:52:18 +01:00
Brian Carroll
e1d8d09472
builtins: move the output argument of Zig fromUtf8RangeC to first position 2022-07-04 11:24:39 +01:00
Brian Carroll
60d29c2e25
builtins: Move return pointer to first position for fromUtf8C 2022-07-04 11:24:39 +01:00
Brian Carroll
a342f02824
wasm: fix Str.fromUtf8 2022-07-04 11:24:38 +01:00
Brian Carroll
02ec30425c
wasm: Implement Str.split 2022-07-04 11:24:38 +01:00
Richard Feldman
b9532cadaa
clippy 2022-07-03 22:47:41 -04:00
Richard Feldman
cab096b4e1
Don't print extra newline in multiline | patterns 2022-07-03 22:43:21 -04:00
Richard Feldman
d1ba89f97f
Fix an extraneous newline in formatting 2022-07-03 22:38:26 -04:00
Richard Feldman
244a501433
Indent for multiline | patterns 2022-07-03 22:17:13 -04:00
Richard Feldman
872efa9724
Put a space before comments in patterns 2022-07-03 21:59:00 -04:00
Richard Feldman
3e2f581db4
Reproduce formatter bug 2022-07-03 21:58:59 -04:00
Richard Feldman
e4d09e9e59
Drop obsolete comment 2022-07-03 21:57:56 -04:00
Ayaz Hafiz
cda740a472
Correct LLVM box eq build 2022-07-03 20:08:23 -04:00
Brian Carroll
6b1e9c75c8
mono: generate refcounting helper functions for Boxed layout 2022-07-03 23:31:49 +01:00
Ayaz Hafiz
35243e0efe
Leftover file cleanup
- Remove a toplevel directory accidentally re-added in #3352
- Remove mono tests renamed but not properly removed in #3352
2022-07-03 16:53:06 -04:00