Skip to content

Commit ff9a100

Browse files
committed
Upgrade Rust toolchain to 2025-06-17 (model-checking#4163)
Relevant upstream PR: rust-lang/rust#137944 (Sized Hierarchy: Part I). This PR implements a part of [RFC 3729](rust-lang/rfcs#3729), which prescribes a hierarchy of `Sized` traits. Notably, this disallows instantiation of `size_of_val` and `align_of_val` with extern types. Consequently, the code in test `unsized_foreign.rs` no longer compiles instead of panicking, as it previously did. This test is therefore removed. Work in progress: figure out whether we can make `foreign_type.rs` work. Resolves: model-checking#4165
1 parent b64e59d commit ff9a100

File tree

3 files changed

+1
-49
lines changed

3 files changed

+1
-49
lines changed

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-06-17"
5+
channel = "nightly-2025-06-18"
66
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]

tests/kani/SizeAndAlignOfDst/unsized_foreign.rs

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)