@@ -218,6 +218,7 @@ pub struct Config {
218
218
pub llvm_thin_lto : bool ,
219
219
pub llvm_release_debuginfo : bool ,
220
220
pub llvm_static_stdcpp : bool ,
221
+ pub llvm_libzstd : bool ,
221
222
/// `None` if `llvm_from_ci` is true and we haven't yet downloaded llvm.
222
223
#[ cfg( not( test) ) ]
223
224
llvm_link_shared : Cell < Option < bool > > ,
@@ -878,6 +879,7 @@ define_config! {
878
879
plugins: Option <bool > = "plugins" ,
879
880
ccache: Option <StringOrBool > = "ccache" ,
880
881
static_libstdcpp: Option <bool > = "static-libstdcpp" ,
882
+ libzstd: Option <bool > = "libzstd" ,
881
883
ninja: Option <bool > = "ninja" ,
882
884
targets: Option <String > = "targets" ,
883
885
experimental_targets: Option <String > = "experimental-targets" ,
@@ -1153,6 +1155,7 @@ impl Config {
1153
1155
llvm_optimize : true ,
1154
1156
ninja_in_file : true ,
1155
1157
llvm_static_stdcpp : false ,
1158
+ llvm_libzstd : false ,
1156
1159
backtrace : true ,
1157
1160
rust_optimize : RustOptimize :: Bool ( true ) ,
1158
1161
rust_optimize_tests : true ,
@@ -1791,6 +1794,7 @@ impl Config {
1791
1794
plugins,
1792
1795
ccache,
1793
1796
static_libstdcpp,
1797
+ libzstd,
1794
1798
ninja,
1795
1799
targets,
1796
1800
experimental_targets,
@@ -1825,6 +1829,7 @@ impl Config {
1825
1829
set ( & mut config. llvm_thin_lto , thin_lto) ;
1826
1830
set ( & mut config. llvm_release_debuginfo , release_debuginfo) ;
1827
1831
set ( & mut config. llvm_static_stdcpp , static_libstdcpp) ;
1832
+ set ( & mut config. llvm_libzstd , libzstd) ;
1828
1833
if let Some ( v) = link_shared {
1829
1834
config. llvm_link_shared . set ( Some ( v) ) ;
1830
1835
}
@@ -1875,6 +1880,7 @@ impl Config {
1875
1880
check_ci_llvm ! ( optimize_toml) ;
1876
1881
check_ci_llvm ! ( thin_lto) ;
1877
1882
check_ci_llvm ! ( release_debuginfo) ;
1883
+ check_ci_llvm ! ( libzstd) ;
1878
1884
check_ci_llvm ! ( targets) ;
1879
1885
check_ci_llvm ! ( experimental_targets) ;
1880
1886
check_ci_llvm ! ( clang_cl) ;
0 commit comments