Richard Feldman
|
a4a56e1a69
|
Drop unnecessary generated #[allow]
This is already gloablly allowed at the top of the file!
|
2022-05-11 10:47:56 -04:00 |
|
Richard Feldman
|
7bf2cd84e1
|
Bindgen an impl for a tag union
|
2022-05-11 10:47:56 -04:00 |
|
Richard Feldman
|
905708de61
|
Bindgen tag enum and variants union for tag unions
|
2022-05-11 10:47:56 -04:00 |
|
Richard Feldman
|
c1cf69a2ea
|
bindgen test for tag union
|
2022-05-11 10:47:56 -04:00 |
|
Richard Feldman
|
c91bedb883
|
It's like cliiipyyyyy on your wedding daaaay
|
2022-05-10 14:43:11 -04:00 |
|
Richard Feldman
|
d709f6e9fd
|
Add bindgen support for single tag unions
|
2022-05-10 14:37:28 -04:00 |
|
Richard Feldman
|
588da398ef
|
Add test for tag gen
|
2022-05-09 18:42:38 -04:00 |
|
Richard Feldman
|
617e1ca2b1
|
Use unwrap_or_default in gen_rs test
|
2022-05-09 18:42:38 -04:00 |
|
Richard Feldman
|
7c043e2039
|
Use multithreading when doing bindgen from CLI
|
2022-05-07 10:40:38 -04:00 |
|
Richard Feldman
|
7fd320dbcc
|
Drop an unnecessary assertion
|
2022-05-06 15:08:11 -04:00 |
|
Richard Feldman
|
349b4504ae
|
Have gen_rs use bindgen::load
|
2022-05-06 15:08:10 -04:00 |
|
Richard Feldman
|
fe7de922ba
|
Ignore tag union test for now
|
2022-05-06 15:08:09 -04:00 |
|
Richard Feldman
|
6b2cba09e6
|
Load files in the bindgen CLI
|
2022-05-06 15:08:09 -04:00 |
|
Richard Feldman
|
84439d7d74
|
Use single-threaded builds in tests
|
2022-05-06 15:08:09 -04:00 |
|
Richard Feldman
|
c7fe047426
|
Have bindgen tests expect platforms instead of apps
|
2022-05-06 15:08:09 -04:00 |
|
Richard Feldman
|
98f6349e32
|
Go back to tempdir for bindgen tests
Turns out we don't need the deterministic name after all,
because test output doesn't depend on file path like it
does in reporting tests!
|
2022-05-06 15:08:09 -04:00 |
|
Richard Feldman
|
46199e3ea6
|
Update gen_rs test to use new bindgen
|
2022-05-06 15:08:09 -04:00 |
|
Richard Feldman
|
a7ac40af19
|
Generate RocType instead of strings directly
|
2022-05-06 15:08:08 -04:00 |
|
Richard Feldman
|
ccc2efbeac
|
Add draft of tag union code gen
|
2022-05-06 15:08:08 -04:00 |
|
Richard Feldman
|
6dbb6c833a
|
Add repr(C) and deriving to hostgen
|
2022-05-06 15:08:07 -04:00 |
|
Richard Feldman
|
a128ebb63b
|
Report potential bindgen I/O errors
|
2022-05-06 15:08:07 -04:00 |
|
Richard Feldman
|
49d4605f35
|
Actually use target_info
|
2022-05-06 15:08:07 -04:00 |
|
Richard Feldman
|
abf2c89f7a
|
Drop unused imports and arguments
|
2022-05-06 15:08:06 -04:00 |
|
Richard Feldman
|
7546822503
|
Auto generate struct names for Rust hostgen
|
2022-05-06 15:08:06 -04:00 |
|
Richard Feldman
|
eeeb29e954
|
Avoid tempdir collisions in gen_rs test
|
2022-05-06 15:08:06 -04:00 |
|
Ayaz Hafiz
|
ebcd72f7af
|
Bindgen our first struct
|
2022-05-06 15:08:06 -04:00 |
|
Brian Hicks
|
586b2ebc56
|
[failing test] differentiate between 32- and 64-bit pointer widths
|
2022-05-06 15:08:06 -04:00 |
|