Skip to content

Commit 3d629ed

Browse files
author
Jorge Aparicio
committed
add the rustbuild feature
which is required to use this in the rust-lang/rust repo. I actually forgot to add this in rust-lang#97 Also, enable this feature by default because people that depend on/build this crate using Cargo will want to have this crate marked as the #![compiler_builtins] crate, which is what the rustbuild feature does
1 parent 8bb7795 commit 3d629ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ compiler-rt = { path = "compiler-rt" }
2323
[features]
2424
# Build the missing intrinsics from compiler-rt C source code
2525
c = []
26+
default = ["rustbuild"]
27+
rustbuild = []
2628
weak = ["rlibc/weak"]
2729

2830
[workspace]

0 commit comments

Comments
 (0)