Commit graph

6636 commits

Author SHA1 Message Date
Richard Feldman
a9483e4098
Merge pull request #3626 from rtfeldman/llvm-wasm-tests
Llvm wasm tests
2022-07-24 17:12:19 -04:00
Richard Feldman
089fae2d56
Merge pull request #3627 from rtfeldman/glue
Replace separate bindgen CLI with `roc glue`
2022-07-24 17:04:20 -04:00
Ayaz Hafiz
c882c76685
Update test 2022-07-24 16:12:47 -04:00
Ayaz Hafiz
0d13dcb1af
Update can tests 2022-07-24 16:11:05 -04:00
Ayaz Hafiz
0de32ac5a9
Warn on definitions that introduce no new variables 2022-07-24 16:11:04 -04:00
Ayaz Hafiz
beccc92c87
Support underscores in assignment patterns 2022-07-24 16:11:03 -04:00
Ayaz Hafiz
fbd70c4031
Parse assignment patterns with underscores 2022-07-24 16:10:01 -04:00
Ayaz Hafiz
79dcec705d
Disable wasm test for now 2022-07-24 16:07:26 -04:00
Brendan Hansknecht
3e82d30e89
Merge pull request #3619 from rtfeldman/gen-dev/array
Gen dev/array
2022-07-24 18:21:20 +00:00
Richard Feldman
cc790a2773
fixup! Rename bindgen_rs to rust_glue 2022-07-24 11:54:40 -04:00
Folkert
916ab396c0
don't read uninitialized memory 2022-07-24 17:53:59 +02:00
Folkert
9cb611e540
clippy 2022-07-24 16:49:42 +02:00
Folkert
7953da1c71
clippy 2022-07-24 16:33:57 +02:00
Folkert
11c0ca2f1b
wasm test wrapper: don't return dangling pointers 2022-07-24 16:28:41 +02:00
Folkert
d87c079620
change how tags are created
wasm in optimize mode just removed the whole tag creation
2022-07-24 15:50:54 +02:00
Folkert
425004dd28
remove duplicate test 2022-07-24 15:49:21 +02:00
Folkert
6e12ac191d
check i128 alignment for wasm too 2022-07-24 14:11:52 +02:00
Folkert
2181d4c498
cleanup 2022-07-24 14:11:37 +02:00
Folkert
91a11a70af
fix str_walk_utf8_with_index 2022-07-24 14:04:41 +02:00
Folkert
8d4a770373
return list instead of nat 2022-07-24 13:48:06 +02:00
Folkert
4b5432328b
update tag tests 2022-07-24 13:42:06 +02:00
Folkert
60b7f2cf94
additional 32-bit string layout tests 2022-07-24 13:38:11 +02:00
Folkert
05a7d76a5e
update StrGetUnsafe 2022-07-24 13:34:14 +02:00
Folkert
100e439852
fix bug with ALIGN_OF_WASM on tuples (it used the size) 2022-07-24 13:33:35 +02:00
Folkert
f7d1ba6952
fix list sorting 2022-07-24 13:24:28 +02:00
Folkert
c274ada741
more cleanup 2022-07-24 13:21:00 +02:00
Folkert
9f37e73ae5
cleanup 2022-07-24 13:18:53 +02:00
Folkert
c81e0281be
most list functions, except sorting 2022-07-24 13:15:35 +02:00
Folkert
6b1ff710ad
rename 2022-07-24 13:07:56 +02:00
Folkert
99a83af3bc
rename 2022-07-24 13:07:42 +02:00
Folkert
0ab1a735ec
cleanup 2022-07-24 13:07:16 +02:00
Folkert
61b4ab72df
final str functions (except those that need list) 2022-07-24 13:06:06 +02:00
Folkert
a49b1ed32d
str_to_num 2022-07-24 13:02:08 +02:00
Folkert
883a264440
update most string functions 2022-07-24 13:00:20 +02:00
Folkert
83a878b2f9
rename 2022-07-24 12:54:55 +02:00
Folkert
2a91c39ac6
rename 2022-07-24 12:54:31 +02:00
Folkert
df865222bf
Nat overflow is different between targets 2022-07-24 12:53:03 +02:00
Folkert
775517a8cf
NumToStr 2022-07-24 12:42:13 +02:00
Folkert
1c310cdda6
NumToIntChecked 2022-07-24 12:39:24 +02:00
Folkert
92306280d2
NumToIntChecked 2022-07-24 12:38:38 +02:00
Folkert
048410ca09
NumBytesTo 2022-07-24 12:35:43 +02:00
Folkert
dd35b44877
add new 32/64-bit bitcode fn callers 2022-07-24 12:32:12 +02:00
Folkert
f31bffab30
wasm tests have a platform; don't generate roc_panic and friends for it 2022-07-24 12:22:39 +02:00
Folkert
69fb5e2cef
disable test for wasm that uses pointers 2022-07-24 12:20:29 +02:00
Folkert
29ad54e5d1
rename wasm llvm test wrapper (now it's the same as dev) 2022-07-24 12:20:17 +02:00
Folkert
bece4342ec
improvements to llvm+wasm test running
- run only the wasm tests
- nicer linker error reporting
2022-07-24 12:17:10 +02:00
Folkert
f5c23a219a
remove assert_non_opt_evals_to 2022-07-24 12:12:28 +02:00
Folkert
e1b427839b
implement wasm traits for roc_std::{I128, U128} 2022-07-24 12:07:27 +02:00
Folkert
754dbf4546
make dict/set tests return i64 instead of usize (for wasm) 2022-07-24 11:55:09 +02:00
Folkert
012c6a75d1
simplify RocStr to array in zig 2022-07-24 11:50:28 +02:00