Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -827,9 +827,6 @@ impl GotocCtx<'_, '_> {
Rvalue::NullaryOp(k, t) => {
let layout = self.layout_of_stable(*t);
match k {
NullOp::SizeOf => Expr::int_constant(layout.size.bytes_usize(), Type::size_t())
.with_size_of_annotation(self.codegen_ty_stable(*t)),
NullOp::AlignOf => Expr::int_constant(layout.align.abi.bytes(), Type::size_t()),
NullOp::OffsetOf(fields) => Expr::int_constant(
self.tcx
.offset_of_subfield(
Expand Down
2 changes: 0 additions & 2 deletions kani-compiler/src/kani_middle/transform/internal_mir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ impl RustcInternalMir for NullOp {

fn internal_mir<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Self::T<'tcx> {
match self {
NullOp::SizeOf => rustc_middle::mir::NullOp::SizeOf,
NullOp::AlignOf => rustc_middle::mir::NullOp::AlignOf,
NullOp::OffsetOf(offsets) => rustc_middle::mir::NullOp::OffsetOf(
tcx.mk_offset_of(
offsets
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT

[toolchain]
channel = "nightly-2025-10-23"
channel = "nightly-2025-10-24"
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]
Loading