@@ -49,10 +49,10 @@ fn simple_cross() {
49
49
50
50
let target = cross_compile:: alternate ( ) ;
51
51
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( ) ) ;
53
53
54
54
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 ( ) ;
56
56
}
57
57
}
58
58
@@ -110,10 +110,10 @@ fn simple_cross_config() {
110
110
111
111
let target = cross_compile:: alternate ( ) ;
112
112
p. cargo ( "build -v" ) . run ( ) ;
113
- assert ! ( p. target_bin( & target, "foo" ) . is_file( ) ) ;
113
+ assert ! ( p. target_bin( target, "foo" ) . is_file( ) ) ;
114
114
115
115
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 ( ) ;
117
117
}
118
118
}
119
119
@@ -146,10 +146,10 @@ fn simple_deps() {
146
146
147
147
let target = cross_compile:: alternate ( ) ;
148
148
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( ) ) ;
150
150
151
151
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 ( ) ;
153
153
}
154
154
}
155
155
0 commit comments