From a1a24550878b0da3daf365a4a00017ffcb006aab Mon Sep 17 00:00:00 2001 From: Matt Wilkinson Date: Sun, 7 Feb 2021 14:50:34 -0500 Subject: [PATCH] add dep-of-std feature --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index aa2cbb7..4c124ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,3 +24,9 @@ hermit-abi = "0.1.6" version = "0.3" features = ["consoleapi", "processenv", "minwinbase", "minwindef", "winbase"] +[dependencies] +core = { version = "1.0.0", optional = true, package = 'rustc-std-workspace-core' } +compiler_builtins = { version = '0.1.2', optional = true } + +[features] +rustc-dep-of-std = ['core', 'compiler_builtins'] \ No newline at end of file