aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fs/path.zig
diff options
context:
space:
mode:
authorJacob Young <15544577+jacobly0@users.noreply.github.com>2025-06-20 00:20:56 -0400
committerGitHub <noreply@github.com>2025-06-20 00:20:56 -0400
commitcf1a7bbd44b9542552c7b5dc6532aafb5142bf7a (patch)
tree23d82265b3a4500514063f0fa13533b255f88f64 /lib/std/fs/path.zig
parentf5a327cd366348a739a282f380acd627815183b5 (diff)
parent1f98c98fffb09bf15a9fc04ecd5f1fa38a4bd4b8 (diff)
downloadzig-cf1a7bbd44b9542552c7b5dc6532aafb5142bf7a.tar.gz
zig-cf1a7bbd44b9542552c7b5dc6532aafb5142bf7a.zip
Merge pull request #24193 from jacobly0/x86_64-spring-cleaning
x86_64: increase passing test coverage on windows
Diffstat (limited to 'lib/std/fs/path.zig')
-rw-r--r--lib/std/fs/path.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/std/fs/path.zig b/lib/std/fs/path.zig
index b2f95a937f..159eb02564 100644
--- a/lib/std/fs/path.zig
+++ b/lib/std/fs/path.zig
@@ -27,8 +27,8 @@ const fs = std.fs;
const process = std.process;
const native_os = builtin.target.os.tag;
-pub const sep_windows = '\\';
-pub const sep_posix = '/';
+pub const sep_windows: u8 = '\\';
+pub const sep_posix: u8 = '/';
pub const sep = switch (native_os) {
.windows, .uefi => sep_windows,
else => sep_posix,
@@ -41,8 +41,8 @@ pub const sep_str = switch (native_os) {
else => sep_str_posix,
};
-pub const delimiter_windows = ';';
-pub const delimiter_posix = ':';
+pub const delimiter_windows: u8 = ';';
+pub const delimiter_posix: u8 = ':';
pub const delimiter = if (native_os == .windows) delimiter_windows else delimiter_posix;
/// Returns if the given byte is a valid path separator