mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 16:26:31 +00:00
chore: update toolchain version to 2024-11-05 (#1031)
* chore: update toolchain version to 2024-11-05 * update dragon reach to e945c217b3 * update dog to 6f2c0c8f12 --------- Co-authored-by: longjin <longjin@DragonOS.org>
This commit is contained in:
@ -2316,8 +2316,12 @@ fn test_vm_stdw() {
|
||||
// If this case is not handled properly in check_mem(), then we may overflow when adding the
|
||||
// context address and the offset, and make the thread panic with "attempt to add with overflow".
|
||||
// Check that we panic with the expected out-of-bounds error.
|
||||
//
|
||||
// The new toolchain introduced `assert_unsafe_precondition` which panics with a different message and can't be
|
||||
// caught by `#[should_panic]`. This is why we use `#[ignore]` here.
|
||||
#[test]
|
||||
#[should_panic(expected = "Error: out of bounds memory store (insn #1)")]
|
||||
#[ignore]
|
||||
fn test_vm_stdw_add_overflow() {
|
||||
let prog = assemble(
|
||||
"
|
||||
|
Reference in New Issue
Block a user