From ef50616df93adcec15af9e0563dcc4b78240c596 Mon Sep 17 00:00:00 2001 From: Shayne Fletcher Date: Tue, 23 Apr 2024 14:42:40 -0700 Subject: [PATCH] ffi_returns_twice is removed Summary: forward compat fix: feature ffi_returns_twice is removed in 1.78.0. Reviewed By: dtolnay Differential Revision: D56452209 fbshipit-source-id: f5d9f9dbd63c1213ef71d023f08e97a793f9e525 --- experimental/reverie-sabre/src/ffi/clone.rs | 1 - experimental/reverie-sabre/src/lib.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/experimental/reverie-sabre/src/ffi/clone.rs b/experimental/reverie-sabre/src/ffi/clone.rs index 39bde86..40a8c97 100644 --- a/experimental/reverie-sabre/src/ffi/clone.rs +++ b/experimental/reverie-sabre/src/ffi/clone.rs @@ -16,7 +16,6 @@ extern "C" { // compiler optimizations. Because of this, vfork *must* be implemented in // raw assembly. It can't be safely implemented in Rust inline asm. For more // information, see: https://github.com/rust-lang/libc/issues/1596 - #[ffi_returns_twice] pub fn vfork_syscall() -> usize; } diff --git a/experimental/reverie-sabre/src/lib.rs b/experimental/reverie-sabre/src/lib.rs index c6f44a1..a13363d 100644 --- a/experimental/reverie-sabre/src/lib.rs +++ b/experimental/reverie-sabre/src/lib.rs @@ -6,8 +6,6 @@ * LICENSE file in the root directory of this source tree. */ -#![feature(ffi_returns_twice)] - //! This library provides an ergonomic interface writing SaBRe plugins with //! Rust.