We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9ebc1 commit aed816dCopy full SHA for aed816d
crates/spirv-builder/src/lib.rs
@@ -635,7 +635,7 @@ 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> {
+ pub fn build(&self) -> Result<CompileResult, SpirvBuilderError> {
639
let metadata_file = invoke_rustc(&self)?;
640
match self.print_metadata {
641
MetadataPrintout::Full | MetadataPrintout::DependencyOnly => {
0 commit comments