Skip to content

Commit 860140a

Browse files
committed
Upgrade to Rust 1.86.0
1 parent 9f41ed5 commit 860140a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ impl GotocCtx<'_> {
667667
assert!(operands.len() == 2);
668668
let typ = self.codegen_ty_stable(res_ty);
669669
let layout = self.layout_of_stable(res_ty);
670-
assert!(layout.ty.is_unsafe_ptr());
670+
assert!(layout.ty.is_raw_ptr());
671671
let data = self.codegen_operand_stable(&operands[0]);
672672
match pointee_ty.kind() {
673673
TyKind::RigidTy(RigidTy::Slice(inner_ty)) => {

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# SPDX-License-Identifier: Apache-2.0 OR MIT
33

44
[toolchain]
5-
channel = "nightly-2025-02-12"
5+
channel = "1.86.0"
66
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]

0 commit comments

Comments
 (0)