diff options
Diffstat (limited to 'third_party/rust/spirv/lib.rs')
-rw-r--r-- | third_party/rust/spirv/lib.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/rust/spirv/lib.rs b/third_party/rust/spirv/lib.rs new file mode 100644 index 0000000000..1631f4edef --- /dev/null +++ b/third_party/rust/spirv/lib.rs @@ -0,0 +1,14 @@ +//! The SPIR-V header. +//! +//! This crate contains Rust definitions of all SPIR-V structs, enums, +//! and constants. +//! +//! The version of this crate is the version of SPIR-V it contains. + +#![no_std] +#![allow(non_camel_case_types)] +#![cfg_attr(rustfmt, rustfmt_skip)] + +use bitflags::bitflags; + +include!("autogen_spirv.rs"); |