File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -175,18 +175,20 @@ fn integration_test_rustc() {
175
175
. strip_prefix ( "commit-hash: " )
176
176
. expect ( "failed parsing commit line" ) ;
177
177
178
+ dbg ! ( & commit) ;
178
179
// check out the commit in the rustc repo to ensure clippy is compatible
179
180
180
181
let st_git_checkout = Command :: new ( "git" )
181
182
. arg ( "checkout" )
182
183
. arg ( commit)
183
184
. status ( )
185
+ . current_dir ( "rust" )
184
186
. expect ( "git failed to check out commit" ) ;
185
187
assert ! ( st_git_checkout. success( ) ) ;
186
188
187
189
let root_dir = std:: path:: PathBuf :: from ( env ! ( "CARGO_MANIFEST_DIR" ) ) ;
188
190
let target_dir = std:: path:: Path :: new ( & root_dir) . join ( "target" ) ;
189
- let clippy_binary = target_dir. join ( env ! ( "PROFILE" ) ) . join ( CARGO_CLIPPY ) ;
191
+ // let clippy_binary = target_dir.join(env!("PROFILE")).join(CARGO_CLIPPY);
190
192
191
193
// we need to make sure that `x.py clippy` picks up our self-built clippy
192
194
// try to make the target dir discoverable as PATH
You can’t perform that action at this time.
0 commit comments