File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 657ef8ef6057b09be9b89b1f542ce64d2ec534d6
2
+ refs/heads/master: 2e63bc5d8293d38cb3be7cb07d6267c9db385062
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -48,8 +48,6 @@ fn mk_filesearch(maybe_sysroot: option<fs::path>,
48
48
result:: ok ( p) { [ p] }
49
49
result:: err ( p) { [ ] }
50
50
}
51
- + [ fs:: connect ( fs:: connect ( self . sysroot , ".cargo" ) ,
52
- libdir ( ) ) ]
53
51
}
54
52
fn get_target_lib_path ( ) -> fs:: path {
55
53
make_target_lib_path ( self . sysroot , self . target_triple )
@@ -113,7 +111,9 @@ fn get_sysroot(maybe_sysroot: option<fs::path>) -> fs::path {
113
111
}
114
112
115
113
fn get_cargo_sysroot ( ) -> result:: t < fs:: path , str > {
116
- result:: ok ( fs:: connect ( get_default_sysroot ( ) , ".cargo" ) )
114
+ let path = [ get_default_sysroot ( ) , libdir ( ) , "cargo" ] ;
115
+ check vec:: is_not_empty ( path) ;
116
+ result:: ok ( fs:: connect_many ( path) )
117
117
}
118
118
119
119
fn get_cargo_root ( ) -> result:: t < fs:: path , str > {
You can’t perform that action at this time.
0 commit comments