We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 460d891 commit 0c7545cCopy full SHA for 0c7545c
src/lib/win32_fs.rs
@@ -7,7 +7,13 @@ impure fn list_dir(str path) -> vec[str] {
7
ret rustrt.rust_list_files(path+"*");
8
}
9
10
-const char path_sep = '\\';
+/* FIXME: win32 path handling actually accepts '/' or '\' and has subtly
11
+ * different semantics for each. Since we build on mingw, we are usually
12
+ * dealing with /-separated paths. But the whole interface to splitting and
13
+ * joining pathnames needs a bit more abstraction on win32. Possibly a vec or
14
+ * tag type.
15
+ */
16
+const char path_sep = '/';
17
18
// Local Variables:
19
// mode: rust;
0 commit comments