File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1112,17 +1112,17 @@ pub fn build_output_filenames(input: &Input,
1112
1112
1113
1113
let mut stem = match * input {
1114
1114
// FIXME (#9639): This needs to handle non-utf8 paths
1115
- FileInput ( ref ifile) => ( * ifile) . filestem_str ( ) . unwrap ( ) . to_managed ( ) ,
1116
- StrInput ( _) => @"rust_out"
1115
+ FileInput ( ref ifile) => {
1116
+ ( * ifile) . filestem_str ( ) . unwrap ( ) . to_str ( )
1117
+ }
1118
+ StrInput ( _) => ~"rust_out"
1117
1119
} ;
1118
1120
1119
1121
// If a crateid is present, we use it as the link name
1120
1122
let crateid = attr:: find_crateid ( attrs) ;
1121
1123
match crateid {
1122
1124
None => { }
1123
- Some ( crateid) => {
1124
- stem = crateid. name . to_managed ( )
1125
- }
1125
+ Some ( crateid) => stem = crateid. name . to_str ( ) ,
1126
1126
}
1127
1127
1128
1128
if sess. building_library . get ( ) {
You can’t perform that action at this time.
0 commit comments