diff --git a/kani-compiler/src/codegen_aeneas_llbc/compiler_interface.rs b/kani-compiler/src/codegen_aeneas_llbc/compiler_interface.rs index 9f4365b194b2..01f2c9351598 100644 --- a/kani-compiler/src/codegen_aeneas_llbc/compiler_interface.rs +++ b/kani-compiler/src/codegen_aeneas_llbc/compiler_interface.rs @@ -338,7 +338,7 @@ impl CodegenBackend for LlbcCodegenBackend { debug!(?crate_type, ?out_path, "link"); if *crate_type == CrateType::Rlib { // Emit the `rlib` that contains just one file: `.rmeta` - link_binary(sess, &ArArchiveBuilderBuilder, &codegen_results, outputs)? + link_binary(sess, &ArArchiveBuilderBuilder, codegen_results, outputs)? } else { // Write the location of the kani metadata file in the requested compiler output file. let base_filepath = outputs.path(OutputType::Object); diff --git a/kani-compiler/src/codegen_cprover_gotoc/compiler_interface.rs b/kani-compiler/src/codegen_cprover_gotoc/compiler_interface.rs index 9da07e36bdf4..ee53987b412b 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/compiler_interface.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/compiler_interface.rs @@ -412,7 +412,7 @@ impl CodegenBackend for GotocCodegenBackend { let requested_crate_types = &codegen_results.crate_info.crate_types; // Create the rlib if one was requested. if requested_crate_types.iter().any(|crate_type| *crate_type == CrateType::Rlib) { - link_binary(sess, &ArArchiveBuilderBuilder, &codegen_results, outputs)?; + link_binary(sess, &ArArchiveBuilderBuilder, codegen_results, outputs)?; } // But override all the other outputs. diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2df39d2a3931..4b99432e755f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,5 +2,5 @@ # SPDX-License-Identifier: Apache-2.0 OR MIT [toolchain] -channel = "nightly-2024-11-12" +channel = "nightly-2024-11-13" components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]