@@ -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 ,
@@ -1787,6 +1790,7 @@ impl Config {
17871790 plugins,
17881791 ccache,
17891792 static_libstdcpp,
1793+ libzstd,
17901794 ninja,
17911795 targets,
17921796 experimental_targets,
@@ -1821,6 +1825,7 @@ impl Config {
18211825 set ( & mut config. llvm_thin_lto , thin_lto) ;
18221826 set ( & mut config. llvm_release_debuginfo , release_debuginfo) ;
18231827 set ( & mut config. llvm_static_stdcpp , static_libstdcpp) ;
1828+ set ( & mut config. llvm_libzstd , libzstd) ;
18241829 if let Some ( v) = link_shared {
18251830 config. llvm_link_shared . set ( Some ( v) ) ;
18261831 }
@@ -1871,6 +1876,7 @@ impl Config {
18711876 check_ci_llvm ! ( optimize_toml) ;
18721877 check_ci_llvm ! ( thin_lto) ;
18731878 check_ci_llvm ! ( release_debuginfo) ;
1879+ check_ci_llvm ! ( libzstd) ;
18741880 check_ci_llvm ! ( targets) ;
18751881 check_ci_llvm ! ( experimental_targets) ;
18761882 check_ci_llvm ! ( clang_cl) ;
0 commit comments