Skip to content

Commit a29f17d

Browse files
authored
Merge branch 'main' into split-lib-bin-deps
2 parents 32bedad + 970c9bb commit a29f17d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

crates/cargo-gpu/src/install.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,14 +268,14 @@ package = "rustc_codegen_spirv"
268268
let target_spec_dir = update_target_specs_files(&source, &dummy_metadata, !skip_rebuild)
269269
.context("writing target spec files")?;
270270

271-
if !skip_rebuild {
272-
log::debug!("ensure_toolchain_and_components_exist");
273-
crate::install_toolchain::ensure_toolchain_and_components_exist(
274-
&toolchain_channel,
275-
self.auto_install_rust_toolchain,
276-
)
277-
.context("ensuring toolchain and components exist")?;
271+
log::debug!("ensure_toolchain_and_components_exist");
272+
crate::install_toolchain::ensure_toolchain_and_components_exist(
273+
&toolchain_channel,
274+
self.auto_install_rust_toolchain,
275+
)
276+
.context("ensuring toolchain and components exist")?;
278277

278+
if !skip_rebuild {
279279
// to prevent unsupported version errors when using older toolchains
280280
if !source.is_path() {
281281
log::debug!("remove Cargo.lock");

0 commit comments

Comments
 (0)