ash/generator
Marijn Suijten 7fa182cc43
Use raw pointers to static-sized arrays in FFI signatures (#353)
In rust references to DSTs (Dynamically Sized Types) like slices and
trait objects are 16-bytes instead of 8 (leaking into the next parameter
of a function call). The static-sized array generated here has its size
known beforehand and will not suffer from this issue [1], but might be
confusing for future readers/authors: convert it to a raw pointer just
to be safe.

[1]: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=88acb9736455f7262ecf4af2077f3a59
2021-01-02 15:08:10 +01:00
..
src Use raw pointers to static-sized arrays in FFI signatures (#353) 2021-01-02 15:08:10 +01:00
Vulkan-Headers@d2308183f2 Update Vulkan-Headers to 1.2.162 with stable ray-tracing spec (#341) 2020-12-13 18:30:42 +01:00
Cargo.toml Upgrade proc_macro2/syn/quote to v1.0 (#351) 2021-01-02 14:37:10 +01:00