@@ -5,10 +5,10 @@ use crate::env::Update;
55use crate :: error:: { Error , Result } ;
66use crate :: expand:: { expand_globs, ExpandedTest } ;
77use crate :: flock:: Lock ;
8- use crate :: manifest:: { Bin , Build , Config , Manifest , Name , Package , Workspace } ;
8+ use crate :: manifest:: { Bin , Manifest , Name , Package , Workspace } ;
99use crate :: message:: { self , Fail , Warn } ;
1010use crate :: normalize:: { self , Context , Variations } ;
11- use crate :: { features, rustflags , Expected , Runner , Test } ;
11+ use crate :: { features, Expected , Runner , Test } ;
1212use serde_derive:: Deserialize ;
1313use std:: collections:: { BTreeMap as Map , BTreeSet as Set } ;
1414use std:: env;
@@ -182,12 +182,6 @@ impl Runner {
182182
183183 fn write ( & self , project : & mut Project ) -> Result < ( ) > {
184184 let manifest_toml = toml:: to_string ( & project. manifest ) ?;
185-
186- let config = self . make_config ( ) ;
187- let config_toml = toml:: to_string ( & config) ?;
188-
189- fs:: create_dir_all ( path ! ( project. dir / ".cargo" ) ) ?;
190- fs:: write ( path ! ( project. dir / ".cargo" / "config.toml" ) , config_toml) ?;
191185 fs:: write ( path ! ( project. dir / "Cargo.toml" ) , manifest_toml) ?;
192186
193187 let main_rs = b"\
@@ -323,14 +317,6 @@ impl Runner {
323317 Ok ( manifest)
324318 }
325319
326- fn make_config ( & self ) -> Config {
327- Config {
328- build : Build {
329- rustflags : rustflags:: make_vec ( ) ,
330- } ,
331- }
332- }
333-
334320 fn run_all ( & self , project : & Project , tests : Vec < ExpandedTest > ) -> Result < Report > {
335321 let mut report = Report {
336322 failures : 0 ,
0 commit comments