File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ impl Config {
106
106
local_docker_image : maybe_env ( "DOCS_RS_LOCAL_DOCKER_IMAGE" ) ?,
107
107
toolchain : env ( "CRATESFYI_TOOLCHAIN" , "nightly" . to_string ( ) ) ?,
108
108
build_cpu_limit : maybe_env ( "DOCS_RS_BUILD_CPU_LIMIT" ) ?,
109
- include_default_targets : env ( "DOCSRS_INCLUDE_DEFAULT_TARGETS" , true ) ?,
109
+ include_default_targets : env ( "DOCSRS_INCLUDE_DEFAULT_TARGETS" , false ) ?,
110
110
disable_memory_limit : env ( "DOCSRS_DISABLE_MEMORY_LIMIT" , false ) ?,
111
111
} )
112
112
}
Original file line number Diff line number Diff line change @@ -762,7 +762,10 @@ mod tests {
762
762
let version = DUMMY_CRATE_VERSION ;
763
763
let default_target = "x86_64-unknown-linux-gnu" ;
764
764
765
- assert_eq ! ( env. config( ) . include_default_targets, true ) ;
765
+ env. override_config ( |config| {
766
+ assert_eq ! ( config. include_default_targets, false ) ;
767
+ config. include_default_targets = true ;
768
+ } ) ;
766
769
767
770
let mut builder = RustwideBuilder :: init ( env) . unwrap ( ) ;
768
771
builder
You can’t perform that action at this time.
0 commit comments