Feature-gate include_spirv macro

This commit is contained in:
Diggory Hardy committed 2021-07-21 10:08:31 +01:00
1 parent 145da6af8b
commit afc1951f9f
1 file changed
+1
+1
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)*) => {
{