Skip to content

Commit 4493eda

Browse files
committed
more logging
1 parent 2179434 commit 4493eda

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

crates/cargo-gpu/src/build.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub struct Build {
2222

2323
impl Build {
2424
/// Entrypoint
25+
#[expect(clippy::too_many_lines, reason = "these lines are fine")]
2526
pub fn run(&mut self) -> anyhow::Result<()> {
2627
let spirv_builder_cli_path = self.install.run()?;
2728

@@ -102,7 +103,13 @@ impl Build {
102103
.file_name()
103104
.context("Couldn't parse file name from shader module path")?,
104105
);
106+
log::debug!("copying {} to {}", filepath.display(), path.display());
105107
std::fs::copy(&filepath, &path)?;
108+
log::debug!(
109+
"linkage of {} relative to {}",
110+
path.display(),
111+
self.install.spirv_install.shader_crate.display()
112+
);
106113
let path_relative_to_shader_crate = path
107114
.relative_to(&self.install.spirv_install.shader_crate)?
108115
.to_path("");

0 commit comments

Comments
 (0)