Skip to content

Commit

Permalink
ffi_returns_twice is removed
Browse files Browse the repository at this point in the history
Summary: forward compat fix: feature ffi_returns_twice is removed in 1.78.0.

Reviewed By: dtolnay

Differential Revision: D56452209

fbshipit-source-id: f5d9f9dbd63c1213ef71d023f08e97a793f9e525
  • Loading branch information
Shayne Fletcher authored and facebook-github-bot committed Apr 23, 2024
1 parent d296065 commit ef50616
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion experimental/reverie-sabre/src/ffi/clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 0 additions & 2 deletions experimental/reverie-sabre/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit ef50616

Please sign in to comment.