diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-07 19:42:33 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-09 17:11:13 +0000 |
| commit | a4e7f8f9bf10588cb5519ae09a15be155499901f (patch) | |
| tree | 49525f3454d966963544c40b78793dc74f0702cc /library/std/src/sys/pal/zkvm/abi.rs | |
| parent | 04bbc8340a0e0031aef7f406c087a0ba64c1b491 (diff) | |
| download | rust-a4e7f8f9bf10588cb5519ae09a15be155499901f.tar.gz rust-a4e7f8f9bf10588cb5519ae09a15be155499901f.zip | |
Mark extern blocks as unsafe
Diffstat (limited to 'library/std/src/sys/pal/zkvm/abi.rs')
| -rw-r--r-- | library/std/src/sys/pal/zkvm/abi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/zkvm/abi.rs b/library/std/src/sys/pal/zkvm/abi.rs index 53332d90e02..d000574f684 100644 --- a/library/std/src/sys/pal/zkvm/abi.rs +++ b/library/std/src/sys/pal/zkvm/abi.rs @@ -18,7 +18,7 @@ pub mod fileno { pub const JOURNAL: u32 = 3; } -extern "C" { +unsafe extern "C" { // Wrappers around syscalls provided by risc0-zkvm-platform: pub fn sys_halt(); pub fn sys_output(output_id: u32, output_value: u32); |
