Skip to content

Commit 16c6390

Browse files
committed
Update dummyguest to 2024 edition
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent b1f23e8 commit 16c6390

File tree

1 file changed

+1
-1
lines changed
  • src/tests/rust_guests/dummyguest/src

1 file changed

+1
-1
lines changed

Diff for: src/tests/rust_guests/dummyguest/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn mmio_read() {
4242
}
4343

4444
#[allow(non_snake_case)]
45-
#[no_mangle]
45+
#[unsafe(no_mangle)]
4646
pub extern "win64" fn entrypoint(a: i64, b: i64, c: i32) -> i32 {
4747
if a != 0x230000 || b != 1234567890 || c != 4096 {
4848
mmio_read();

0 commit comments

Comments
 (0)