@@ -218,6 +218,7 @@ pub struct Config {
218218 pub llvm_thin_lto : bool ,
219219 pub llvm_release_debuginfo : bool ,
220220 pub llvm_static_stdcpp : bool ,
221+ pub llvm_libzstd : bool ,
221222 /// `None` if `llvm_from_ci` is true and we haven't yet downloaded llvm.
222223 #[ cfg( not( test) ) ]
223224 llvm_link_shared : Cell < Option < bool > > ,
@@ -878,6 +879,7 @@ define_config! {
878879 plugins: Option <bool > = "plugins" ,
879880 ccache: Option <StringOrBool > = "ccache" ,
880881 static_libstdcpp: Option <bool > = "static-libstdcpp" ,
882+ libzstd: Option <bool > = "libzstd" ,
881883 ninja: Option <bool > = "ninja" ,
882884 targets: Option <String > = "targets" ,
883885 experimental_targets: Option <String > = "experimental-targets" ,
@@ -1153,6 +1155,7 @@ impl Config {
11531155 llvm_optimize : true ,
11541156 ninja_in_file : true ,
11551157 llvm_static_stdcpp : false ,
1158+ llvm_libzstd : false ,
11561159 backtrace : true ,
11571160 rust_optimize : RustOptimize :: Bool ( true ) ,
11581161 rust_optimize_tests : true ,
@@ -1791,6 +1794,7 @@ impl Config {
17911794 plugins,
17921795 ccache,
17931796 static_libstdcpp,
1797+ libzstd,
17941798 ninja,
17951799 targets,
17961800 experimental_targets,
@@ -1825,6 +1829,7 @@ impl Config {
18251829 set ( & mut config. llvm_thin_lto , thin_lto) ;
18261830 set ( & mut config. llvm_release_debuginfo , release_debuginfo) ;
18271831 set ( & mut config. llvm_static_stdcpp , static_libstdcpp) ;
1832+ set ( & mut config. llvm_libzstd , libzstd) ;
18281833 if let Some ( v) = link_shared {
18291834 config. llvm_link_shared . set ( Some ( v) ) ;
18301835 }
@@ -1875,6 +1880,7 @@ impl Config {
18751880 check_ci_llvm ! ( optimize_toml) ;
18761881 check_ci_llvm ! ( thin_lto) ;
18771882 check_ci_llvm ! ( release_debuginfo) ;
1883+ check_ci_llvm ! ( libzstd) ;
18781884 check_ci_llvm ! ( targets) ;
18791885 check_ci_llvm ! ( experimental_targets) ;
18801886 check_ci_llvm ! ( clang_cl) ;
0 commit comments