drop a lint that only fires on command macro noise
This commit is contained in:
+5
-1
@@ -12,7 +12,11 @@ fn main() {
|
||||
/// .cso files are emitted empty and capture.rs falls back to runtime
|
||||
/// `D3DCompile` (so a clean checkout without the SDK still builds).
|
||||
fn compile_shaders() {
|
||||
let out_dir = PathBuf::from(std::env::var("OUT_DIR").expect("OUT_DIR"));
|
||||
// Cargo always sets OUT_DIR for a build script; if it is missing the build
|
||||
// is broken in a way we cannot paper over, so say so plainly.
|
||||
let out_dir = PathBuf::from(
|
||||
std::env::var("OUT_DIR").expect("OUT_DIR is set by cargo for build scripts"),
|
||||
);
|
||||
let shader_dir = PathBuf::from("shaders");
|
||||
|
||||
let fxc = find_fxc();
|
||||
|
||||
Reference in New Issue
Block a user