Skip to content

Commit 2d4ba1b

Browse files
committed
ci: probe imports ForeignTypeRef
1 parent a3aa933 commit 2d4ba1b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎scripts/cvtex-ab/probe/Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ publish = false
99
[dependencies]
1010
block = "0.1"
1111
core-foundation = "0.10"
12+
foreign-types = "0.5"
1213
core-video = { version = "0.5.2", features = ["metal"] }
1314
metal = "0.33"

‎scripts/cvtex-ab/probe/src/main.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use core_video::pixel_buffer::{
1313
CVPixelBuffer, CVPixelBufferKeys, kCVPixelFormatType_32BGRA,
1414
kCVPixelFormatType_420YpCbCr8BiPlanarFullRange,
1515
};
16+
use foreign_types::ForeignTypeRef;
1617
use metal::{MTLOrigin, MTLPixelFormat, MTLSize, TextureDescriptor};
1718

1819
unsafe extern "C" {

0 commit comments

Comments
 (0)