@@ -23,7 +23,6 @@ fn build_script_extra_link_arg_bin() {
23
23
. build ( ) ;
24
24
25
25
p. cargo ( "build -v" )
26
- . masquerade_as_nightly_cargo ( )
27
26
. without_status ( )
28
27
. with_stderr_contains (
29
28
"[RUNNING] `rustc --crate-name foo [..]-C link-arg=--this-is-a-bogus-flag[..]" ,
@@ -63,7 +62,6 @@ fn build_script_extra_link_arg_bin_single() {
63
62
. build ( ) ;
64
63
65
64
p. cargo ( "build -v" )
66
- . masquerade_as_nightly_cargo ( )
67
65
. without_status ( )
68
66
. with_stderr_contains (
69
67
"[RUNNING] `rustc --crate-name foo [..]-C link-arg=--bogus-flag-all -C link-arg=--bogus-flag-foo[..]" ,
@@ -90,7 +88,6 @@ fn build_script_extra_link_arg() {
90
88
. build ( ) ;
91
89
92
90
p. cargo ( "build -v" )
93
- . masquerade_as_nightly_cargo ( )
94
91
. without_status ( )
95
92
. with_stderr_contains (
96
93
"[RUNNING] `rustc --crate-name foo [..]-C link-arg=--this-is-a-bogus-flag[..]" ,
@@ -126,7 +123,6 @@ fn link_arg_missing_target() {
126
123
) ;
127
124
128
125
p. cargo ( "check" )
129
- . masquerade_as_nightly_cargo ( )
130
126
. with_status ( 101 )
131
127
. with_stderr ( "\
132
128
[COMPILING] foo [..]
@@ -141,7 +137,6 @@ The package foo v0.0.1 ([ROOT]/foo) does not have a bin target.
141
137
) ;
142
138
143
139
p. cargo ( "check" )
144
- . masquerade_as_nightly_cargo ( )
145
140
. with_status ( 101 )
146
141
. with_stderr (
147
142
"\
@@ -158,7 +153,6 @@ The package foo v0.0.1 ([ROOT]/foo) does not have a bin target with the name `ab
158
153
) ;
159
154
160
155
p. cargo ( "check" )
161
- . masquerade_as_nightly_cargo ( )
162
156
. with_status ( 101 )
163
157
. with_stderr (
164
158
"\
@@ -261,7 +255,6 @@ fn link_arg_transitive_not_allowed() {
261
255
. build ( ) ;
262
256
263
257
p. cargo ( "build -v" )
264
- . masquerade_as_nightly_cargo ( )
265
258
. with_stderr (
266
259
"\
267
260
[UPDATING] [..]
@@ -303,7 +296,6 @@ fn link_arg_with_doctest() {
303
296
. build ( ) ;
304
297
305
298
p. cargo ( "test --doc -v" )
306
- . masquerade_as_nightly_cargo ( )
307
299
. without_status ( )
308
300
. with_stderr_contains (
309
301
"[RUNNING] `rustdoc [..]--crate-name foo [..]-C link-arg=--this-is-a-bogus-flag[..]" ,
0 commit comments