Skip to content

Commit

Permalink
Upgrade toolchain to 2024-09-09 (#3518)
Browse files Browse the repository at this point in the history
Relevant upstream PR:

rust-lang/rust#129313: Supress niches in
coroutines to avoid aliasing violations #129313

Resolves #3512

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
  • Loading branch information
qinheping authored Sep 17, 2024
1 parent d98ba4d commit 44b585e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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-2024-09-08"
channel = "nightly-2024-09-09"
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ fn main() {
take(x);
};

// FIXME: size of coroutines does not work reliably (https://github.com/model-checking/kani/issues/1395)
assert_eq!(size_of_val(&gen1), size_of_val(&Some(gen1)));
// FIXME(https://github.com/rust-lang/rust/issues/63818#issuecomment-2264915918):
// niches in coroutines are disabled. Should be `assert_eq`.
assert_ne!(size_of_val(&gen1), size_of_val(&Some(gen1)));
}

0 comments on commit 44b585e

Please sign in to comment.