Commit graph

294 commits

Author SHA1 Message Date
Ayaz Hafiz
f07cf97128
Use arch-specific interner in glue 2023-06-17 18:13:03 -05:00
Ayaz Hafiz
d10893947f
Use rust 2018 macros 2023-06-17 18:13:03 -05:00
Ayaz Hafiz
bc41db2a34
Get rid of passing target_info a bunch 2023-06-17 18:13:00 -05:00
Ayaz Hafiz
5274dbcd00
Add a Newtype variant to LayoutWrapper 2023-06-06 16:03:52 -05:00
Ayaz Hafiz
dd94d6ba16
Stray dbg 2023-06-06 16:01:28 -05:00
Ayaz Hafiz
457cdabc5c
Make repr private and accessible only via the interner 2023-06-06 16:01:27 -05:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
481fc2b78c
Merge pull request #5417 from dlsmith/cli-ld-warning
Consistent handling of ld chained fixup warning in cli/glue tests
2023-05-17 15:27:53 +00:00
David Smith
051fca2f68
Share stripping of ignorable strings in has_error helper 2023-05-17 10:08:16 -04:00
David Smith
58cb8352bb
Consistent handling of ld chained fixup warning in cli/glue tests 2023-05-16 17:12:13 -04:00
Ayaz Hafiz
a67c148be7
Convert LayoutRepr::Struct into a tuple variant 2023-05-16 11:58:16 -05:00
Ayaz Hafiz
c3eeb5e2cc
Wrap layouts in a LayoutRepr constructor
Part 1 of support semantic layout representations.
2023-05-10 13:22:10 -05:00
Folkert
d13ca51095
add --dev flag to glue 2023-05-01 18:39:11 +02:00
Folkert
caf11e58fa
more code sharing between mono and glue 2023-04-21 20:59:35 +02:00
Folkert
b5bd0f4fb0
find extern names using the variables (not layouts) 2023-04-21 18:21:01 +02:00
Folkert
f63460eb69
remove some UB 2023-04-06 16:10:31 +02:00
Folkert
92c2931678
make all glue tests run! 2023-04-05 23:19:17 +02:00
Folkert
84d61a0a64
implement enough of non-nullable unwrapped 2023-04-05 17:23:51 +02:00
Folkert
3151a08edb
full implementation for nullable unwrapped 2023-04-05 15:02:53 +02:00
Folkert
64f96c4182
formatting 2023-04-04 20:27:20 +02:00
Folkert
dc7f1c32c8
remove crash from canDerivePartialEq 2023-04-04 20:26:47 +02:00
Folkert
bf4ac1cbf6
re-enable non-recursive tag union tests 2023-04-04 19:48:40 +02:00
Folkert
995e14747b
fix ManuallyDrop usage in tag unions 2023-04-04 15:18:03 +02:00
Folkert
9a6f9ad26e
functions in structs, in general 2023-04-04 15:01:17 +02:00
Folkert
b7119e9b3a
return record containing function 2023-04-03 23:45:30 +02:00
Folkert
178e5ad425
glue + tests for result and option 2023-04-03 19:47:41 +02:00
Folkert
38566a2b9f
add example with arguments 2023-04-02 22:06:04 +02:00
Folkert
3ff17aa0ea
generate signature for the entry points 2023-04-02 20:47:28 +02:00
Folkert
4419e961c8
remove unneeded extern definitions 2023-03-30 21:36:30 +02:00
Folkert
d66ec6d34d
move RustGlue.roc closer to what we have on the ts branch 2023-03-30 21:20:45 +02:00
Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue 2023-03-29 19:43:59 +02:00
Brendan Hansknecht
f0a7ca8d29
use cfg to avoid pulling unix only data into windows builds 2023-03-28 14:15:53 -07:00
Richard Feldman
5cb2202f6b
Fix typo in comment 2023-03-25 13:28:54 -04:00
Richard Feldman
8f5d18a673
clippy 2023-03-25 13:07:22 -04:00
Richard Feldman
49058c8209
cargo fmt on glue 2023-03-25 11:41:43 -04:00
Richard Feldman
977b7394f5
Reorder roc glue arguments and add a default 2023-03-24 22:17:54 -04:00
Richard Feldman
0149e7231c
Temporarily disable some glue tests 2023-03-24 20:55:09 -04:00
Brendan Hansknecht
8d5f443fcd
Merge remote-tracking branch 'origin/main' into pluggable-glue 2023-03-21 11:07:47 -07:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-08 19:46:00 +01:00
Folkert
69b2e03a04
remove dict/set tests for now 2023-03-08 13:54:08 +01:00
Folkert
a0276f1a13
fix stack overflow in roc type traversal 2023-03-08 13:53:16 +01:00
Brendan Hansknecht
d41dd52b8d
revert glue fixtures Cargo.toml so it can be built standalone 2023-03-06 23:10:42 -08:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded 2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec 2023-03-06 16:36:18 -08:00
Folkert
508f078d47
standardize derive order 2023-03-06 22:12:12 +01:00
Folkert
08f6774011
remove some todo!s 2023-03-06 22:11:56 +01:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track 2023-03-06 13:01:07 -08:00
Brendan Hansknecht
c9e4badd93
update as many dependencies as possible to use the workspace version of the package 2023-03-06 12:43:48 -08:00
Folkert
3455d315f3
deal with unions like Result a [] where a tag is elided 2023-03-06 21:43:17 +01:00