File tree 5 files changed +10
-7
lines changed
5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
All notable changes to this project will be documented in this file.
3
3
4
+ ## 0.0.190
5
+ * Fix a bunch of intermittent cargo bugs
6
+
4
7
## 0.0.189
5
8
* Rustup to * rustc 1.26.0-nightly (5508b2714 2018-03-18)*
6
9
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " clippy"
3
- version = " 0.0.189 "
3
+ version = " 0.0.190 "
4
4
authors = [
5
5
" Manish Goregaokar <[email protected] >" ,
6
6
" Andre Bogus <[email protected] >" ,
@@ -37,7 +37,7 @@ path = "src/driver.rs"
37
37
38
38
[dependencies ]
39
39
# begin automatic update
40
- clippy_lints = { version = " 0.0.189 " , path = " clippy_lints" }
40
+ clippy_lints = { version = " 0.0.190 " , path = " clippy_lints" }
41
41
# end automatic update
42
42
cargo_metadata = " 0.5"
43
43
regex = " 0.2"
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " clippy_lints"
3
3
# begin automatic update
4
- version = " 0.0.189 "
4
+ version = " 0.0.190 "
5
5
# end automatic update
6
6
authors = [
7
7
" Manish Goregaokar <[email protected] >" ,
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ pub fn lookup_conf_file() -> io::Result<Option<path::PathBuf>> {
186
186
/// Possible filename to search for.
187
187
const CONFIG_FILE_NAMES : [ & str ; 2 ] = [ ".clippy.toml" , "clippy.toml" ] ;
188
188
189
- let mut current = try! ( env:: current_dir ( ) ) ;
189
+ let mut current = path :: PathBuf :: from ( env:: var ( "CARGO_MANIFEST_DIR" ) . expect ( "CARGO_MANIFEST_DIR not set" ) ) ;
190
190
191
191
loop {
192
192
for config_file_name in & CONFIG_FILE_NAMES {
Original file line number Diff line number Diff line change @@ -115,10 +115,10 @@ pub fn main() {
115
115
} )
116
116
. collect ( ) ;
117
117
118
- let current_dir = std:: env:: current_dir ( )
119
- . expect ( "could not read current directory" )
118
+ let current_dir = PathBuf :: from ( std:: env:: var ( "CARGO_MANIFEST_DIR" )
119
+ . expect ( "CARGO_MANIFEST_DIR not set" ) )
120
120
. canonicalize ( )
121
- . expect ( "current directory cannot be canonicalized" ) ;
121
+ . expect ( "manifest directory cannot be canonicalized" ) ;
122
122
123
123
let mut current_path: & Path = & current_dir;
124
124
You can’t perform that action at this time.
0 commit comments