mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Fix some UTF-16 on Windows
This commit is contained in:
parent
e25be01ccd
commit
7b83dd6ef9
1 changed files with 2 additions and 1 deletions
|
@ -855,7 +855,8 @@ fn build_loaded_file<'a>(
|
|||
|
||||
let last = path.as_os_str().encode_wide().last();
|
||||
|
||||
last == Some('/') || last == Some('\\');
|
||||
last == Some(0x002f)// UTF-16 slash
|
||||
|| last == Some(0x005c) // UTF-16 backslash
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue