From 9d4ad380de9a0e168852f45947c6d7af6c2172f0 Mon Sep 17 00:00:00 2001 From: joboet Date: Mon, 13 Mar 2023 14:27:11 +0100 Subject: [PATCH] allow `std` to depend on `syscall` --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 70fd6c5..e29c517 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,5 +11,9 @@ edition = "2018" [lib] name = "syscall" +[features] +rustc-dep-of-std = ["core", "bitflags/rustc-dep-of-std"] + [dependencies] bitflags = "1.1.0" +core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }