Skip to content

Commit ca9a2a3

Browse files
Merge pull request #318 from roc-lang/fix-pub-windows
Make `path_from_roc_path` pub for Windows
2 parents 12b8455 + 000b62f commit ca9a2a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/roc_file/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub fn path_from_roc_path(bytes: &RocList<u8>) -> Cow<'_, Path> {
6767
}
6868

6969
#[cfg(target_family = "windows")]
70-
fn path_from_roc_path(bytes: &RocList<u8>) -> Cow<'_, Path> {
70+
pub fn path_from_roc_path(bytes: &RocList<u8>) -> Cow<'_, Path> {
7171
use std::os::windows::ffi::OsStringExt;
7272

7373
let bytes = bytes.as_slice();

0 commit comments

Comments
 (0)