ash
ash copied to clipboard
extensions/khr: Add VK_KHR_pipeline_binary extension
Our no_std build complains:
error[E0412]: cannot find type `Vec` in this scope
--> ash/src/extensions/khr/pipeline_binary.rs:66:19
|
66 | ) -> VkResult<Vec<u8>> {
| ^^^ not found in this scope
|
help: consider importing this struct
|
3 | use alloc::vec::Vec;
|
It's quite unfortunate that the clippy::std_instead_of_alloc lint didn't warn that Vec from the prelude is in std (this lint only triggers if use std::vec::Vec is explicitly imported). CC @i509VCB who landed this feature, I haven't found an upstream tracking issue but maybe you know about this?