drop a lint that only fires on command macro noise

This commit is contained in:
2026-09-21 01:08:34 +03:00
parent 29cd5a8050
commit 630687945a
4 changed files with 19 additions and 3 deletions
+5 -1
View File
@@ -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();