Skip to content

Commit 6cf21a8

Browse files
authored
Upgrade Rust toolchain nightly-2024-05-27 (#3215)
`lazy_cell` became stable: rust-lang/rust#121377. `vtable_ptr` is renamed to `_vtable_ptr`: rust-lang/rust@d83f3ca8ca. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent 4a88939 commit 6cf21a8

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ impl<'tcx> GotocCtx<'tcx> {
699699
data_cast
700700
} else {
701701
let vtable_expr =
702-
meta.member("vtable_ptr", &self.symbol_table).cast_to(
702+
meta.member("_vtable_ptr", &self.symbol_table).cast_to(
703703
typ.lookup_field_type("vtable", &self.symbol_table).unwrap(),
704704
);
705705
dynamic_fat_ptr(typ, data_cast, vtable_expr, &self.symbol_table)

kani-compiler/src/main.rs

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#![recursion_limit = "256"]
1111
#![feature(box_patterns)]
1212
#![feature(rustc_private)]
13-
#![feature(lazy_cell)]
1413
#![feature(more_qualified_paths)]
1514
#![feature(iter_intersperse)]
1615
#![feature(let_chains)]

rust-toolchain.toml

+1-1
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-2024-05-24"
5+
channel = "nightly-2024-05-27"
66
components = ["llvm-tools-preview", "rustc-dev", "rust-src", "rustfmt"]

0 commit comments

Comments
 (0)