Commit Graph

116 Commits

Author SHA1 Message Date
Richard Feldman
24254d8c12
Remove bindgen::types, use MutMap over HashMap 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
ba34f3c0b7
Use write_all over write 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
f3f5fcad98
Use a slice over a Vec arg 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
Richard Feldman
131a633f7f
Add write_struct to hostgen 2022-05-06 15:08:06 -04:00
Richard Feldman
dec353baaa
Add write_layout_type to hostgen 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
Richard Feldman
fe2538894b
Add some tests for ordering structs 2022-05-06 15:08:05 -04:00
Richard Feldman
89385d05d1
Get some basic alignment sorting going 2022-05-06 15:08:05 -04:00
Richard Feldman
afd232281c
Add some basic bindgen stuff 2022-05-06 15:08:05 -04:00
Richard Feldman
b7c754dc05
Add bindgen 2022-05-06 15:08:05 -04:00