From b979270c09e16b41cd39a9e4a2f3cd6b3c619c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jana=20D=C3=B6nszelmann?= Date: Thu, 23 Oct 2025 11:32:21 +0200 Subject: [PATCH] remove use of deprecated syntax --- Cargo.toml | 2 +- src/unix/sharedmem.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6d6dd39..dd9dc48 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sandbox-ipc" -version = "0.4.0" +version = "0.4.1" description = "An IPC implementation with an eye toward enabling privilege separation." repository = "https://github.com/JohnColanduoni/sandbox-ipc" diff --git a/src/unix/sharedmem.rs b/src/unix/sharedmem.rs index 616f42b..2ed0b32 100644 --- a/src/unix/sharedmem.rs +++ b/src/unix/sharedmem.rs @@ -185,7 +185,7 @@ lazy_static! { }; } -#[link = "c"] +#[link(name ="c")] extern "C" { fn getpagesize() -> c_int; }