Skip to content

Commit 48bea70

Browse files
committed
Revert Filesystem to origin/main
1 parent 3ec0302 commit 48bea70

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/fs/mod.zig

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,4 @@
33
//! This module provides a filesystem interface that allows for easy testing
44
//! and mocking of file operations throughout the compiler.
55

6-
const std = @import("std");
7-
const builtin = @import("builtin");
8-
9-
/// Maximum file size constant - available without importing Filesystem
10-
pub const max_file_size = std.math.maxInt(u32);
11-
12-
/// Filesystem abstraction that works on all platforms.
13-
/// On WASM, provides a minimal stub since std.posix is not available on wasm32-freestanding.
14-
pub const Filesystem = if (builtin.cpu.arch == .wasm32) struct {
15-
pub const max_file_size = @This().max_file_size;
16-
} else @import("Filesystem.zig");
6+
pub const Filesystem = @import("Filesystem.zig");

0 commit comments

Comments
 (0)