@@ -49,10 +49,10 @@ fn simple_cross() {
4949
5050 let target = cross_compile:: alternate ( ) ;
5151 p. cargo ( "build -v --target" ) . arg ( & target) . run ( ) ;
52- assert ! ( p. target_bin( & target, "foo" ) . is_file( ) ) ;
52+ assert ! ( p. target_bin( target, "foo" ) . is_file( ) ) ;
5353
5454 if cross_compile:: can_run_on_host ( ) {
55- p. process ( & p. target_bin ( & target, "foo" ) ) . run ( ) ;
55+ p. process ( & p. target_bin ( target, "foo" ) ) . run ( ) ;
5656 }
5757}
5858
@@ -110,10 +110,10 @@ fn simple_cross_config() {
110110
111111 let target = cross_compile:: alternate ( ) ;
112112 p. cargo ( "build -v" ) . run ( ) ;
113- assert ! ( p. target_bin( & target, "foo" ) . is_file( ) ) ;
113+ assert ! ( p. target_bin( target, "foo" ) . is_file( ) ) ;
114114
115115 if cross_compile:: can_run_on_host ( ) {
116- p. process ( & p. target_bin ( & target, "foo" ) ) . run ( ) ;
116+ p. process ( & p. target_bin ( target, "foo" ) ) . run ( ) ;
117117 }
118118}
119119
@@ -146,10 +146,10 @@ fn simple_deps() {
146146
147147 let target = cross_compile:: alternate ( ) ;
148148 p. cargo ( "build --target" ) . arg ( & target) . run ( ) ;
149- assert ! ( p. target_bin( & target, "foo" ) . is_file( ) ) ;
149+ assert ! ( p. target_bin( target, "foo" ) . is_file( ) ) ;
150150
151151 if cross_compile:: can_run_on_host ( ) {
152- p. process ( & p. target_bin ( & target, "foo" ) ) . run ( ) ;
152+ p. process ( & p. target_bin ( target, "foo" ) ) . run ( ) ;
153153 }
154154}
155155
0 commit comments