[naga] Make the example_wgsl test build without wgsl-in feature.

This commit is contained in:
Jim Blandy 2023-11-23 10:22:09 -08:00 committed by Teodor Tanasoaia
parent 86562e69a6
commit 48091784a1

View File

@ -1,3 +1,5 @@
#![cfg(feature = "wgsl-in")]
use naga::{front::wgsl, valid::Validator};
use std::{fs, path::PathBuf};