Commit Graph

349 Commits

Author SHA1 Message Date
Richard Feldman
d965a43fe9
Split back out NullableUnwrapped 2022-08-08 17:27:29 -04:00
Richard Feldman
1a10174abb
Combine all single-tag unions into RocTagUnion::SingleTag 2022-08-08 14:42:52 -04:00
Richard Feldman
4ac79772df
Revise glue for single-tag recursive unions 2022-08-08 14:42:52 -04:00
Richard Feldman
22b219c3c9
Glue body for recursive single-tag unions 2022-08-08 14:42:52 -04:00
Richard Feldman
6e7f0210da
Combine recursive and nonrecursive single-tag glue 2022-08-08 14:42:52 -04:00
Richard Feldman
4e73899356
Rename NonNullableUnwrapped to RecursiveSingleTag 2022-08-08 14:42:52 -04:00
Richard Feldman
23b8ff896a
Give non-recursive single tag unions a payload 2022-08-08 14:42:52 -04:00
Richard Feldman
3adae16cff
Add test fixtures for nonnullable-unwrapped 2022-08-08 14:42:51 -04:00
Richard Feldman
1ad59c6c45
Replace usages of ManuallyDrop::take with ::into_inner 2022-08-08 12:10:20 -04:00
Richard Feldman
0ca0da85cf
Merge pull request #3694 from rtfeldman/roc-std-platform
further windows linking fixes
2022-08-07 14:42:52 -04:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +02:00
Folkert
ca5610c748
clippy 2022-08-07 13:20:28 +02:00
Richard Feldman
7f758ab9b6
Fix nullable-wrapped tests 2022-08-07 00:42:52 -04:00
Richard Feldman
7a5db3d457
Revert "Add an index to write_impl_tags"
This reverts commit 31f1aef8e0.
2022-08-07 00:42:52 -04:00
Richard Feldman
7726c1745b
Modify test fixture for nullable-wrapped 2022-08-07 00:42:46 -04:00
Richard Feldman
484cc582fc
Add some comments 2022-08-07 00:32:52 -04:00
Richard Feldman
f644c8ac50
Special-case nullable-unwrapped's null tag 2022-08-06 23:35:29 -04:00
Richard Feldman
31f1aef8e0
Add an index to write_impl_tags 2022-08-06 23:27:38 -04:00
Richard Feldman
dba935b8b7
Reuse add_tag_union for nullable_wrapped 2022-08-06 23:24:23 -04:00
Richard Feldman
4f55105a35
Generate glue for nullable unwrapped 2022-08-06 23:11:17 -04:00
Richard Feldman
621d1afd5d
Add test fixture for nullable-wrapped 2022-08-06 23:11:13 -04:00
Folkert
79d0dbf4a1
clippy 2022-08-06 20:12:10 +02:00
Folkert
b4eda7c9d9
rework features for roc_std 2022-08-06 19:01:07 +02: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
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
Richard Feldman
e7b4d3f18d
Disable roc_std default features in glue and reporting 2022-08-03 22:39:20 -04:00
Richard Feldman
3136c5fb63
Allow testing interface modules 2022-08-03 19:49:48 -04:00
Folkert de Vries
fe707a9d6c Revert "don't use default flags when using roc_std just for its types"
This reverts commit 092a119eb7.
2022-08-03 21:18:56 +02:00
Folkert de Vries
092a119eb7 don't use default flags when using roc_std just for its types 2022-08-03 20:24:18 +02:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
Folkert de Vries
c296b5a5ac remove useless conversion 2022-08-02 14:06:14 +02:00
Folkert de Vries
1366be4a50 formatting 2022-08-02 00:10:26 +02:00
Folkert de Vries
7df31619dd add the concept of an OS to target info 2022-08-01 23:53:17 +02:00
Folkert de Vries
23411ea147 add the Windows64 target 2022-08-01 23:10:31 +02:00
Richard Feldman
e2de5519a7
Remove unnecessary clone - thanks, Clippy! 2022-07-24 12:01:38 -04:00
Richard Feldman
ad563f0600
Drop unused ctor dependency 2022-07-24 12:00:43 -04:00
Richard Feldman
ed69a73786
Update glue tests 2022-07-24 11:57:01 -04:00
Richard Feldman
fcd9819118
Print formatted reports for roc glue errors 2022-07-24 11:23:23 -04:00
Richard Feldman
946b44cfd0
Fix some type mismatches 2022-07-24 11:22:58 -04:00
Richard Feldman
3765cbbc8f
Drop obsolete templates and main.rs 2022-07-24 10:46:27 -04:00
Richard Feldman
fc7351508e
Rename bindgen_rs to rust_glue 2022-07-24 10:41:52 -04:00
Richard Feldman
4bc961a453
Have the roc CLI use the new glue 2022-07-24 10:41:05 -04:00
Richard Feldman
7258446283
Make roc_glue a library, not a separate CLI 2022-07-24 10:25:27 -04:00
Richard Feldman
98c6ab0e97
Rename crates/bindgen to crates/glue 2022-07-24 10:25:24 -04:00