Richard Feldman
|
17a19818b6
|
Have Env::vars_to_types handle recursive pointers
|
2022-05-28 12:29:07 -04:00 |
|
Richard Feldman
|
d5ce6a3954
|
Drop types::Field in favor of RocType::RecursivePointer
|
2022-05-28 12:28:28 -04:00 |
|
Richard Feldman
|
96da12074d
|
Add RocType::PENDING_RECURSIVE_POINTER
|
2022-05-28 12:27:20 -04:00 |
|
Richard Feldman
|
8866498469
|
Add RocType::RecursivePointer
|
2022-05-28 11:55:40 -04:00 |
|
Richard Feldman
|
13acea4704
|
Revert "Attempt at making recursive tag unions better"
This reverts commit 51e69e93c7 .
|
2022-05-28 11:48:42 -04:00 |
|
Richard Feldman
|
51e69e93c7
|
Attempt at making recursive tag unions better
|
2022-05-28 11:48:29 -04:00 |
|
Richard Feldman
|
514595cca7
|
Fix recursive tag union bindgen CLI test
|
2022-05-27 23:08:21 -04:00 |
|
Richard Feldman
|
29bc67a12f
|
Debug print tag union payloads as tuples
|
2022-05-27 23:01:07 -04:00 |
|
Richard Feldman
|
f2a7ecb392
|
Remove incorrect pointer indirection
|
2022-05-27 22:45:17 -04:00 |
|
Richard Feldman
|
01ba5e8f36
|
Drop obsolete comment
|
2022-05-27 21:39:31 -04:00 |
|
Richard Feldman
|
498bc9a88e
|
Fix a Debug derivation
|
2022-05-27 21:39:17 -04:00 |
|
Richard Feldman
|
266e62820e
|
Make Recursiveness derive Copy
|
2022-05-27 21:38:41 -04:00 |
|
Richard Feldman
|
f30897c78d
|
Always untag the pointer in recursive unions
|
2022-05-27 20:07:37 -04:00 |
|
Richard Feldman
|
fb5924ab61
|
Use self.pointer in more places, where appropriate
|
2022-05-27 20:07:37 -04:00 |
|
Richard Feldman
|
448e1ca717
|
Generate a separate union for recursive tag unions
|
2022-05-27 20:07:37 -04:00 |
|
Richard Feldman
|
22b849bd82
|
Don't use ptr::read for borrowed payloads
|
2022-05-27 20:07:37 -04:00 |
|
Richard Feldman
|
38969cde68
|
Use ptr::read over deref, to avoid move error
|
2022-05-27 20:07:37 -04:00 |
|
Richard Feldman
|
014a9deaf7
|
Actually use discriminant argument
|
2022-05-27 20:07:36 -04:00 |
|
Richard Feldman
|
5edb4fd26d
|
Return owned and borrowed payloads differently
|
2022-05-27 20:07:36 -04:00 |
|
Richard Feldman
|
08a93d0d94
|
Construct tag payloads from tupled args
|
2022-05-27 20:07:36 -04:00 |
|
Richard Feldman
|
6b2605aebd
|
Drop unused variable
|
2022-05-27 20:07:36 -04:00 |
|
Richard Feldman
|
e6d96a2d9b
|
Bindgen as_Foo to return a tuple
|
2022-05-27 20:07:36 -04:00 |
|
Richard Feldman
|
8e937333fc
|
Bindgen into_Foo to return a tuple
|
2022-05-27 20:07:36 -04:00 |
|
Richard Feldman
|
06349a8670
|
Hoist bitmask definition
|
2022-05-27 20:07:35 -04:00 |
|
Richard Feldman
|
705de474ee
|
bindgen recursive fields as pointers
|
2022-05-27 20:07:35 -04:00 |
|
Richard Feldman
|
aadce61238
|
Fix tagged pointer type mismatch
|
2022-05-27 20:07:35 -04:00 |
|
Richard Feldman
|
786ef56416
|
Fix naming error
|
2022-05-27 20:07:35 -04:00 |
|
Richard Feldman
|
93f8261ed0
|
Fix recursive union bindgen fixture type mismatches
|
2022-05-27 20:07:35 -04:00 |
|
Richard Feldman
|
bceb787806
|
Have transparent wrappers expose their field
|
2022-05-27 20:07:35 -04:00 |
|
Richard Feldman
|
6d3e354b38
|
Revert "Unwrap transparent wrappers"
This reverts commit a2aa0a4d46c1f6742942d36f16392f4e71542964.
|
2022-05-27 20:07:35 -04:00 |
|
Richard Feldman
|
19c2396623
|
Unwrap transparent wrappers
|
2022-05-27 20:07:34 -04:00 |
|
Richard Feldman
|
1e97a450e3
|
Drop unused import
|
2022-05-27 20:07:34 -04:00 |
|
Richard Feldman
|
d20954a2d1
|
Initial bindgen for recursive unions
|
2022-05-27 20:07:34 -04:00 |
|
Richard Feldman
|
9725ea6212
|
Fix syntax error in generated Rust code
|
2022-05-27 20:07:34 -04:00 |
|
Richard Feldman
|
eeec0f8990
|
Bindgen RoctagUnion::Recursive
|
2022-05-27 20:07:34 -04:00 |
|
Richard Feldman
|
60a28cb857
|
Add preliminary recursive union test
|
2022-05-27 20:07:34 -04:00 |
|
Richard Feldman
|
b719e2a89b
|
Obtain target_info from architecture
|
2022-05-27 20:07:33 -04:00 |
|
Richard Feldman
|
cc8bf71b2f
|
Merge pull request #3142 from rtfeldman/deprecate-shell-nix
deprecated shell.nix, updated BUILDING_FROM_SOURCE
|
2022-05-27 20:05:09 -04:00 |
|
Folkert de Vries
|
e281aa32e0
|
Merge pull request #3138 from rtfeldman/remove-refcount-trait
Replace `ReferenceCount` trait with using `Clone` and `Drop`
|
2022-05-27 13:08:46 +02:00 |
|
Anton-4
|
0fe0d852d7
|
improve wording
|
2022-05-27 12:02:06 +02:00 |
|
Anton-4
|
27ac7dcea2
|
deprecated shell.nix, updated BUILDING_FROM_SOURCE
|
2022-05-27 11:59:05 +02:00 |
|
Richard Feldman
|
8b7e09dee9
|
Call mem::drop with an explicit type parameter
This enforces that we're dropping the owned value, not a reference.
|
2022-05-26 11:52:57 -04:00 |
|
Richard Feldman
|
c57d95f818
|
Remove unused ReferenceCount from roc_std
|
2022-05-26 11:41:42 -04:00 |
|
Richard Feldman
|
228793002c
|
Stop using ReferenceCounted in examples
|
2022-05-26 11:41:42 -04:00 |
|
Richard Feldman
|
b1b3201f89
|
Don't bindgen ReferenceCount instances anymore
|
2022-05-26 11:18:32 -04:00 |
|
Richard Feldman
|
1ef5d785c0
|
Remove no-longer-necessary ReferenceCount uses in wasm
|
2022-05-26 11:18:06 -04:00 |
|
Richard Feldman
|
d9b8cec74d
|
Use Clone and Drop instead of ReferenceCount in roc_std
|
2022-05-26 11:15:19 -04:00 |
|
Richard Feldman
|
06289441e4
|
Merge pull request #3136 from rtfeldman/bindgen-nullable-unwrapped
Bindgen nullable unwrapped (cons lists)
|
2022-05-26 09:41:06 -04:00 |
|
Folkert de Vries
|
f36ff331b5
|
Merge pull request #3118 from rtfeldman/wasm-parser-trait
Improve error handling for the Wasm host
|
2022-05-26 14:33:53 +02:00 |
|
Richard Feldman
|
490ddf70ea
|
Fix some recursive tag union logic
|
2022-05-26 00:41:48 -04:00 |
|