Automatically install rust toolchain for CI #1

Merged
bspeice merged 3 commits from cargo_gpu_builder into main 2026-06-19 22:20:24 -04:00
Showing only changes of commit 24a40adcad - Show all commits
+3 -5
View File
@@ -9,11 +9,9 @@ pub fn main() -> anyhow::Result<()> {
.copied()
.collect::<PathBuf>();
let mut install = Install::from_shader_crate(crate_path.clone());
install.build_script = true;
install.auto_install_rust_toolchain = true;
let install = install.run()?;
let install = Install::from_shader_crate(crate_path.clone())
.within_build_script()
.run()?;
let mut builder = install.to_spirv_builder(crate_path, "spirv-unknown-vulkan1.3");
builder.build_script.defaults = true;
builder.shader_panic_strategy = ShaderPanicStrategy::SilentExit;