ash icon indicating copy to clipboard operation
ash copied to clipboard

extensions/khr: Add VK_KHR_pipeline_binary extension

Open MarijnS95 opened this issue 1 year ago • 1 comments

MarijnS95 avatar Sep 19 '24 21:09 MarijnS95

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?

MarijnS95 avatar Dec 02 '24 13:12 MarijnS95