This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ fn main() {
1010 rustc ( ) . input ( "foo.rs" ) . run ( ) ;
1111 cc ( ) . input ( "bar.c" ) . input ( static_lib_name ( "foo" ) ) . out_exe ( "bar" ) . args ( & extra_c_flags ( ) ) . run ( ) ;
1212 run ( "bar" ) ;
13- fs:: remove_file ( static_lib_name ( "foo" ) ) ;
13+ fs:: remove_file ( static_lib_name ( "foo" ) ) . unwrap ( ) ;
1414 run ( "bar" ) ;
1515}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ fn setup_test_env<F: FnOnce(&Path, &Path)>(callback: F) {
1010 create_dir ( & out_dir) . expect ( "failed to create doctests folder" ) ;
1111 rustc ( ) . input ( "t.rs" ) . crate_type ( "rlib" ) . run ( ) ;
1212 callback ( & out_dir, Path :: new ( "libt.rlib" ) ) ;
13- remove_dir_all ( out_dir) ;
13+ remove_dir_all ( out_dir) . unwrap ( ) ;
1414}
1515
1616fn check_generated_binaries ( ) {
@@ -58,6 +58,6 @@ fn main() {
5858 . extern_ ( "t" , "libt.rlib" )
5959 . run ( ) ;
6060
61- remove_dir_all ( run_dir_path) ;
61+ remove_dir_all ( run_dir_path) . unwrap ( ) ;
6262 } ) ;
6363}
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ fn main() {
3131 . extern_ ( "t" , "libt.rlib" )
3232 . run ( ) ;
3333
34- remove_dir_all ( run_dir) ;
35- remove_dir_all ( run_tool) ;
34+ remove_dir_all ( run_dir) . unwrap ( ) ;
35+ remove_dir_all ( run_tool) . unwrap ( ) ;
3636}
You can’t perform that action at this time.
0 commit comments