We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9ebc1 commit da624d1Copy full SHA for da624d1
crates/spirv-builder/src/lib.rs
@@ -635,8 +635,8 @@ impl SpirvBuilder {
635
636
/// Builds the module. If `print_metadata` is [`MetadataPrintout::Full`], you usually don't have to inspect the path
637
/// in the result, as the environment variable for the path to the module will already be set.
638
- pub fn build(self) -> Result<CompileResult, SpirvBuilderError> {
639
- let metadata_file = invoke_rustc(&self)?;
+ pub fn build(&self) -> Result<CompileResult, SpirvBuilderError> {
+ let metadata_file = invoke_rustc(self)?;
640
match self.print_metadata {
641
MetadataPrintout::Full | MetadataPrintout::DependencyOnly => {
642
leaf_deps(&metadata_file, |artifact| {
0 commit comments