Commit 6bd7c68
authored
Disable bzip2-sys build script if rust backend is enabled (#125)
* Disable bzip2-sys build script if rust backend is enabled
Currently if one is to enable rust backend without disabling
default features, the bzip2-sys build script would build the
bzip2 again, making it meaningless to enable the feature.
In many cases disabling default-features is hard (breaking
backwards compatibility), so it'd be better to disable the
bzip2-sys bulid-script, if the rust backend is enabled'
It would still pull in cc-rs and pkg-config, but at least
it won't compile the bzip2 c code again.'
Signed-off-by: Jiahao XU <[email protected]>
* Disable bzip2-sys build script if rust backend is enabled
Currently if one is to enable rust backend without disabling
default features, the bzip2-sys build script would build the
bzip2 again, making it meaningless to enable the feature.
In many cases disabling default-features is hard (breaking
backwards compatibility), so it'd be better to disable the
bzip2-sys bulid-script, if the rust backend is enabled'
It would still pull in cc-rs and pkg-config, but at least
it won't compile the bzip2 c code again.'
Signed-off-by: Jiahao XU <[email protected]>
* Disable bzip2-sys build script if rust backend is enabled
Currently if one is to enable rust backend without disabling
default features, the bzip2-sys build script would build the
bzip2 again, making it meaningless to enable the feature.
In many cases disabling default-features is hard (breaking
backwards compatibility), so it'd be better to disable the
bzip2-sys bulid-script, if the rust backend is enabled'
It would still pull in cc-rs and pkg-config, but at least
it won't compile the bzip2 c code again.'
Signed-off-by: Jiahao XU <[email protected]>
---------
Signed-off-by: Jiahao XU <[email protected]>1 parent af06fd1 commit 6bd7c68
3 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
0 commit comments