File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ SYSROOT=`rustc --print sysroot`
32
32
diff <( LD_LIBRARY_PATH=${SYSROOT} /lib ./target/debug/clippy-driver --rustc --version --verbose) <( rustc --version --verbose)
33
33
34
34
# we can't run 2 rustcs on the same file at the same time
35
- CLIPPY=` LD_LIBRARY_PATH=${SYSROOT} /lib ./target/debug/clippy-driver tests/driver/main.rs`
36
- RUSTC=` rustc tests/driver/main.rs`
35
+ CLIPPY=` LD_LIBRARY_PATH=${SYSROOT} /lib ./target/debug/clippy-driver ./ tests/driver/main.rs --rustc `
36
+ RUSTC=` rustc ./ tests/driver/main.rs`
37
37
diff <( $CLIPPY ) <( $RUSTC )
38
38
39
39
# TODO: CLIPPY_CONF_DIR / CARGO_MANIFEST_DIR
Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ Usage:
207
207
208
208
Common options:
209
209
-h, --help Print this message
210
+ --rustc Pass all args to rustc
210
211
-V, --version Print version info and exit
211
212
212
213
Other options are the same as `cargo check`.
You can’t perform that action at this time.
0 commit comments