Brian Carroll
0e7aee2221
Make TODO function type names unique
2022-07-17 21:54:57 +01:00
Richard Feldman
7b102958e5
Merge remote-tracking branch 'origin/trunk' into bindgen-duplicates
2022-07-17 13:23:51 -04:00
Brian Carroll
dbee91e945
Merge branch 'trunk' of github.com:rtfeldman/roc into bindgen-unit-result-bool
2022-07-16 07:50:45 +01:00
Richard Feldman
8e29248b82
Thanks for noticing the duplicate clone, clippy!
2022-07-15 11:27:33 -04:00
Richard Feldman
8eeff6c28d
Don't bindgen duplicate types
2022-07-15 11:26:37 -04:00
Richard Feldman
d1ba890610
Get Result layouts from vars
2022-07-15 11:24:59 -04:00
Richard Feldman
f0b50b4dc7
bindgen RocType::EmptyTagUnion
2022-07-15 11:24:59 -04:00
Richard Feldman
d82af057c6
Bindgen Bool
2022-07-15 11:24:59 -04:00
Richard Feldman
eadcd2f7c0
Bindgen empty tag union
2022-07-15 11:24:59 -04:00
Richard Feldman
d9694a2bbd
bindgen RocResult
2022-07-15 11:24:59 -04:00
Richard Feldman
f2aa62a6ea
bindgen empty record (aka unit)
2022-07-15 11:24:58 -04:00
Richard Feldman
d75e222256
Drop a debug_assert that could cause problems
2022-07-15 10:07:20 -04:00
Richard Feldman
c4a3428b34
bindgen std::convert::Infallible for empty tag unions
2022-07-15 10:07:07 -04:00
Richard Feldman
24df6ef93b
Get Result layouts from vars
2022-07-14 12:23:36 -04:00
Folkert de Vries
1b1b63aad0
Merge branch 'trunk' into assoc-list-dict
2022-07-14 16:47:50 +02:00
Richard Feldman
f2b3ae482b
bindgen RocType::EmptyTagUnion
2022-07-13 21:35:35 -04:00
Richard Feldman
9307dad86b
Bindgen Bool
2022-07-13 21:35:35 -04:00
Richard Feldman
5b1b17a74b
Bindgen empty tag union
2022-07-13 21:35:35 -04:00
Richard Feldman
c8cb8804b8
bindgen RocResult
2022-07-13 21:35:34 -04:00
Richard Feldman
348ee32945
bindgen empty record (aka unit)
2022-07-13 21:35:34 -04:00
Richard Feldman
ed64d8b043
Move the rest of impl RocType into bindgen_rs
2022-07-13 21:35:13 -04:00
Richard Feldman
cf4ef0afe3
Move has_enumeration to bindgen_rs, rename to can_derive_default
2022-07-13 21:35:13 -04:00
Richard Feldman
45ffd45792
Drop obsolete comment
2022-07-13 21:34:01 -04:00
Richard Feldman
434bd1a56f
Don't handle has_enumeration for functions yet
2022-07-13 21:34:01 -04:00
Richard Feldman
b822b8c0be
Don't bindgen the wrong name for args and ret
2022-07-13 21:34:01 -04:00
Richard Feldman
cb0184103e
Make function bindgen a no-op instead of a todo panic
2022-07-13 21:34:01 -04:00
Richard Feldman
bf63c45b46
Compute src_dir from original filename
...
This fixed a bug where bindgen was providing cwd() for src_dir,
but actually the src_dir should have been based on the filename.
This prevents that problem from happening in the future!
2022-07-13 12:49:06 -04:00
Folkert
4d55b756bb
remove dict/set layout
2022-07-13 11:41:19 +02:00
Richard Feldman
f45e3dbb46
Fix tests
2022-07-08 18:16:08 -04:00
Richard Feldman
a6d99aa357
Move src_dir into LoadStart
2022-07-08 18:16:07 -04:00
Ayaz Hafiz
e09b5313df
Fix type errors
2022-07-05 22:16:52 -04:00
Folkert
9c856fd5ae
updates for clippy 1.62
2022-07-05 12:39:27 +02:00
Ayaz Hafiz
74a55664dd
Remove some unneeded changes
2022-07-03 10:37:36 -04:00
Ayaz Hafiz
a5ea4f8c11
Remove references to multimorphic names
2022-07-03 10:37:35 -04:00
Ayaz Hafiz
d63eb23664
Fix compile errors
2022-07-03 10:37:27 -04:00
Ayaz Hafiz
5f8b509cb3
Fixup compile errors
2022-07-03 10:37:26 -04:00
Anton-4
59609aa5f2
removed dbg
2022-07-01 17:41:53 +02:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes
2022-07-01 17:37:43 +02:00