path2: Replace the path module outright
Remove the old path. Rename path2 to path. Update all clients for the new path. Also make some miscellaneous changes to the Path APIs to help the adoption process.
This commit is contained in:
parent
6741241f40
commit
73d3d00ec4
63 changed files with 2501 additions and 2989 deletions
|
|
@ -225,7 +225,7 @@ pub mod dl {
|
|||
|
||||
pub unsafe fn open_external(filename: &path::Path) -> *libc::c_void {
|
||||
#[fixed_stack_segment]; #[inline(never)];
|
||||
do os::win32::as_utf16_p(filename.to_str()) |raw_name| {
|
||||
do os::win32::as_utf16_p(filename.as_str().unwrap()) |raw_name| {
|
||||
LoadLibraryW(raw_name)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue