From 9ab2dbada0fe0b28fdc6416321f3c3cf6fdc8714 Mon Sep 17 00:00:00 2001 From: Anton Oreskin Date: Sat, 12 Sep 2026 11:36:46 +0200 Subject: [PATCH] Keep Vulkan diagnostics out of project directories --- setup.vsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.vsh b/setup.vsh index de359be..7af97e3 100644 --- a/setup.vsh +++ b/setup.vsh @@ -170,7 +170,9 @@ fn check() bool { println('[ok] Volk header: ${volk}') } if command_exists('vulkaninfo') { - result := os.execute('vulkaninfo --summary') + // Some SDK builds write their update manifest into the process working + // directory. Keep diagnostics from leaving residue in the user's repo. + result := os.execute('cd ${os.quoted_path(os.temp_dir())} && vulkaninfo --summary') if result.exit_code == 0 { println('[ok] Vulkan loader enumerated a physical device') } else {