Commit graph

2701 commits

Author SHA1 Message Date
Folkert
98708d689e
ownership 2022-08-07 00:12:39 +02:00
Folkert
9d057a1227
clippy 2022-08-06 23:01:54 +02:00
Folkert
45c15bf1f1
expect tests need to run with test execution mode 2022-08-06 23:00:58 +02:00
Folkert
68888c79ae
skip expect codegen when not running tests 2022-08-06 22:03:56 +02:00
Richard Feldman
807f73fecf
Add some expects to Str 2022-08-06 21:45:21 +02:00
Folkert
9574bd9928
move implementation of platform functions to use site... 2022-08-06 21:32:18 +02:00
Folkert
79d0dbf4a1
clippy 2022-08-06 20:12:10 +02:00
Folkert
6bf3e80f51
remove some sendmap usage 2022-08-06 20:00:39 +02:00
Folkert
6394a4e337
update no_std config 2022-08-06 19:05:29 +02:00
Folkert
b4eda7c9d9
rework features for roc_std 2022-08-06 19:01:07 +02:00
Folkert de Vries
d415c72fdc
Merge pull request #3713 from rtfeldman/wasm-code-gen-fixes-i3448
Wasm code gen fixes
2022-08-06 18:46:26 +02:00
Folkert
a5293e2a60
and add non-nullable unwrapped 2022-08-06 18:27:04 +02:00
Folkert
be4e98e076
add recursive unions 2022-08-06 17:40:12 +02:00
Anton-4
cf3707b063
Merge pull request #3705 from rtfeldman/default_nix_mac_arm64
make default.nix work on MacOS arm64
2022-08-06 16:03:26 +02:00
Folkert
546b702740
nullable wrapped tags 2022-08-06 14:40:00 +02:00
Brian Carroll
50326f7e0b
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-code-gen-fixes-i3448 2022-08-06 10:12:24 +01:00
Brian Carroll
aa0e9e8d31
wasm: Get RC reset/reuse working correctly 2022-08-06 09:58:47 +01:00
Richard Feldman
e5a7c28c6e
Remove unsafe from glue functions that don't need it 2022-08-05 20:17:26 -04:00
Richard Feldman
314d7a7952
Add RocTagUnion::SingleTagUnion 2022-08-05 20:14:41 -04:00
Richard Feldman
e9966e6551
Extract some common wrapper logic 2022-08-05 20:14:41 -04:00
Richard Feldman
efa31ae747
Add failing single-tag-union glue test 2022-08-05 20:14:41 -04:00
Richard Feldman
1a1d1da51a
Drop obsolete dbg! calls 2022-08-05 20:14:41 -04:00
Folkert de Vries
add2fc4b11
Merge pull request #3706 from rtfeldman/fix-glue-ord
Glue: don't derive Ord or Hash impls for floats
2022-08-05 23:14:46 +02:00
Ayaz
d4e81ccbd2
Merge pull request #3695 from rtfeldman/derive-decoding-list
Derive decoding for lists!
2022-08-05 10:41:24 -05:00
Folkert de Vries
289319c900
Merge pull request #3704 from rtfeldman/fix-expect-fmt
Fix `expect` formatting
2022-08-05 16:12:53 +02:00
Richard Feldman
72ca577b54
Glue: don't derive Ord or Hash impls for floats 2022-08-05 09:44:47 -04:00
Richard Feldman
26ee1a01bc
Merge pull request #3691 from rtfeldman/cargo_verson_change
changed Cargo versions from 0.1.0 to 0.0.1
2022-08-05 09:13:04 -04:00
Anton-4
f57456fa0e
default.nix fixes for macos arm64 2022-08-05 13:31:52 +02:00
Brian Carroll
e71a6da62d
wasm: fix refcount bug in higher order low-levels 2022-08-05 09:51:51 +01:00
Richard Feldman
a3e441c086
Fix top-level expect formatting bugs 2022-08-04 23:14:19 -04:00
Richard Feldman
862b58b8f9
Fix expect formatting in expressions 2022-08-04 23:14:19 -04:00
Richard Feldman
0d0cebc40d
Reproduce expect formatting bugs 2022-08-04 23:14:16 -04:00
Ayaz
deb6231d8c
Turn off test on gen-wasm for now 2022-08-04 17:13:09 -05:00
Folkert de Vries
510016bf6e
Merge pull request #3680 from rtfeldman/derive-decoders-1
Derive immediate decoders for basic types
2022-08-05 00:07:52 +02:00
Folkert de Vries
801f692067
Merge pull request #3697 from rtfeldman/test-interfaces
Allow `roc test` on interface modules
2022-08-05 00:01:38 +02:00
Richard Feldman
7518164cac
Move an import to avoid an unused warning 2022-08-04 13:52:36 -04:00
Richard Feldman
304c2c0bb0
Fix test_gen::helpers::dev 2022-08-04 13:52:35 -04:00
Folkert de Vries
9f2ddc61d8
Merge pull request #3699 from rtfeldman/wasm-fix-uninit-capacity
Wasm: fix uninitialised capacity in List literals
2022-08-04 15:24:55 +02:00
Brian Carroll
7f44ace383
wasm: nicer debug output for Let statements 2022-08-04 12:30:25 +01:00
Brian Carroll
67f7512e6d
wasm: drop unused return value from copy_value_from_memory 2022-08-04 12:29:25 +01:00
Brian Carroll
85e5d11db4
wasm: fix List.getUnsafe trying to load a symbol before it was stored 2022-08-04 12:27:46 +01:00
Brian Carroll
f526005249
test_gen: make default option more obvious on wasm debug page 2022-08-04 12:15:31 +01:00
Brian Carroll
acc83bde7c
test_gen: Fix an inaccurate test return value 2022-08-04 10:00:21 +01:00
Brian Carroll
be6408227a
test_gen: change some i64's to usize's 2022-08-04 09:29:30 +01:00
Richard Feldman
7f65298cf5
Fix a warning when testing with --release 2022-08-03 22:59:50 -04:00
Richard Feldman
d9992e26b1
Fix wasm test helper 2022-08-03 22:59:36 -04:00
Richard Feldman
b0f7737227
Update mono tests 2022-08-03 22:45:38 -04:00
Richard Feldman
7186c07151
Conditionally import ffi::c_void 2022-08-03 22:42:10 -04:00
Richard Feldman
b0071d274b
Drop unnecessary cfg(any(test)) condition 2022-08-03 22:41:54 -04:00
Richard Feldman
9f221d7fab
Disable roc_std default features in gen_wasm and test_gen 2022-08-03 22:40:58 -04:00