Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
9 changes: 0 additions & 9 deletions kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,15 +791,6 @@ impl GotocCtx<'_> {
e,
t,
) => self.codegen_misc_cast(e, *t),
Rvalue::Cast(CastKind::DynStar, _, _) => {
let ty = self.codegen_ty_stable(res_ty);
self.codegen_unimplemented_expr(
"CastKind::DynStar",
ty,
loc,
"https://github.com/model-checking/kani/issues/1784",
)
}
Rvalue::Cast(CastKind::PointerCoercion(k), e, t) => {
self.codegen_pointer_cast(k, e, *t, loc)
}
Expand Down
7 changes: 0 additions & 7 deletions kani-compiler/src/kani_middle/transform/check_values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use crate::args::ExtraChecks;
use crate::kani_middle::transform::body::{
CheckType, InsertPosition, MutableBody, SourceInstruction,
};
use crate::kani_middle::transform::check_values::SourceOp::UnsupportedCheck;
use crate::kani_middle::transform::{TransformPass, TransformationType};
use crate::kani_queries::QueryDb;
use rustc_middle::ty::{Const, TyCtxt};
Expand Down Expand Up @@ -640,12 +639,6 @@ impl MirVisitor for CheckValueVisitor<'_, '_> {
})
}
}
// `DynStar` is not currently supported in Kani.
// TODO: https://github.com/model-checking/kani/issues/1784
CastKind::DynStar => self.push_target(UnsupportedCheck {
check: "Dyn*".to_string(),
ty: (rvalue.ty(self.locals).unwrap()),
}),
CastKind::PointerExposeAddress
| CastKind::PointerWithExposedProvenance
| CastKind::PointerCoercion(_)
Expand Down
4 changes: 0 additions & 4 deletions kani-compiler/src/kani_middle/transform/internal_mir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,6 @@ impl RustcInternalMir for CastKind {
CoercionSource::Implicit,
)
}
CastKind::DynStar => rustc_middle::mir::CastKind::PointerCoercion(
rustc_ty::adjustment::PointerCoercion::DynStar,
CoercionSource::Implicit,
),
CastKind::IntToInt => rustc_middle::mir::CastKind::IntToInt,
CastKind::FloatToInt => rustc_middle::mir::CastKind::FloatToInt,
CastKind::FloatToFloat => rustc_middle::mir::CastKind::FloatToFloat,
Expand Down
1 change: 0 additions & 1 deletion kani-compiler/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#![feature(rustc_private)]
#![feature(more_qualified_paths)]
#![feature(iter_intersperse)]
#![feature(let_chains)]
#![feature(f128)]
#![feature(f16)]
#![feature(non_exhaustive_omitted_patterns_lint)]
Expand Down
1 change: 0 additions & 1 deletion kani-driver/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright Kani Contributors
// SPDX-License-Identifier: Apache-2.0 OR MIT
#![feature(let_chains)]
use std::ffi::OsString;
use std::process::ExitCode;

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-07-02"
channel = "nightly-2025-07-04"
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]
Loading