We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28ac490 commit 133851dCopy full SHA for 133851d
Cargo.toml
@@ -5,7 +5,7 @@ name = "compiler_builtins"
5
version = "0.1.0"
6
7
[build-dependencies]
8
-rustc-cfg = "0.3.0"
+rustc-cfg = { version = "0.3.0", optional = true }
9
10
[build-dependencies.gcc]
11
optional = true
@@ -19,7 +19,7 @@ compiler-rt = { path = "compiler-rt" }
19
20
[features]
21
# Build the missing intrinsics from compiler-rt C source code
22
-c = ["gcc"]
+c = ["gcc", "rustc-cfg"]
23
# Mark this crate as the #![compiler_builtins] crate
24
compiler-builtins = []
25
default = ["compiler-builtins"]
0 commit comments