Skip to content

Commit d3f736c

Browse files
Ryan ClantonSchrodingerZhu
authored andcommitted
make builds mutually exclusive
1 parent d541d9d commit d3f736c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ members = ["snmalloc-sys" ]
1919
snmalloc-sys = {version = "0.2.25", path = "snmalloc-sys",default-features = false }
2020

2121
[features]
22-
default = ["1mib"]
22+
default = ["snmalloc-sys/build_cmake","1mib"]
2323
build_cc = ["snmalloc-sys/build_cc","1mib"]
2424
1mib = ["snmalloc-sys/1mib"]
2525
16mib = ["snmalloc-sys/16mib"]

snmalloc-sys/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ version = "0.2"
2222
default-features = false
2323

2424
[features]
25-
default = ["1mib","cmake"]
25+
default = ["1mib","build_cmake"]
2626
build_cc = ["cc"]
27+
build_cmake = ["cmake"]
2728
1mib = []
2829
16mib = []
2930
qemu = []

0 commit comments

Comments
 (0)