Feature-gate include_spirv macro

This commit is contained in:
Diggory Hardy
2021-07-21 10:08:31 +01:00
parent 145da6af8b
commit afc1951f9f

View File

@@ -45,6 +45,7 @@ fn test_vertex_attr_array() {
///
/// It ensures the word alignment as well as the magic number.
#[macro_export]
#[cfg(feature = "spirv")]
macro_rules! include_spirv {
($($token:tt)*) => {
{