File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -25,4 +25,5 @@ bundled = ["dep:cmake"] # Build Z3 via our bundled submodule.
25
25
vcpkg = [" dep:vcpkg" ] # Build Z3 via vcpkg.
26
26
27
27
# Legacy feature for short term compatibility
28
- static-link-z3 = [" bundled" ]
28
+ static-link-z3 = [" bundled" , " deprecated-static-link-z3" ]
29
+ deprecated-static-link-z3 = []
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ fn main() {
4
4
#[ cfg( feature = "bundled" ) ]
5
5
build_bundled_z3 ( ) ;
6
6
7
+ #[ cfg( feature = "deprecated-static-link-z3" ) ]
8
+ println ! ( "cargo:warning=The 'static-link-z3' feature is deprecated. Please use the 'bundled' feature." ) ;
9
+
7
10
println ! ( "cargo:rerun-if-changed=build.rs" ) ;
8
11
9
12
#[ cfg( not( feature = "vcpkg" ) ) ]
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ bundled = ["z3-sys/bundled"]
20
20
vcpkg = [" z3-sys/vcpkg" ]
21
21
22
22
# This is a legacy feature here for short term compatibility.
23
- static-link-z3 = [" z3-sys/bundled" ]
23
+ static-link-z3 = [" z3-sys/bundled" , " z3-sys/deprecated-static-link-z3 " ]
24
24
25
25
[dependencies ]
26
26
log = " 0.4"
You can’t perform that action at this time.
0 commit comments