diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-03-22 01:13:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-22 01:13:43 -0700 |
| commit | a2651cbc829d44df4c3773037598b30e8cf0c4da (patch) | |
| tree | 555c74b10683ae9678c68777310116f47142a8aa /src/Package/Module.zig | |
| parent | 54c08579e4859673391843182aa2fd44aabbf6cf (diff) | |
| parent | 950359071bca707dbc9763f1bf3ebc79cd52ebca (diff) | |
| download | zig-a2651cbc829d44df4c3773037598b30e8cf0c4da.tar.gz zig-a2651cbc829d44df4c3773037598b30e8cf0c4da.zip | |
Merge pull request #19388 from ziglang/cache-dedup
cache system file deduplication
Diffstat (limited to 'src/Package/Module.zig')
| -rw-r--r-- | src/Package/Module.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Package/Module.zig b/src/Package/Module.zig index d6b89efb41..f9cb4475ad 100644 --- a/src/Package/Module.zig +++ b/src/Package/Module.zig @@ -3,7 +3,7 @@ //! to Zcu. https://github.com/ziglang/zig/issues/14307 /// Only files inside this directory can be imported. -root: Package.Path, +root: Cache.Path, /// Relative to `root`. May contain path separators. root_src_path: []const u8, /// Name used in compile errors. Looks like "root.foo.bar". @@ -69,7 +69,7 @@ pub const CreateOptions = struct { builtin_modules: ?*std.StringHashMapUnmanaged(*Module), pub const Paths = struct { - root: Package.Path, + root: Cache.Path, /// Relative to `root`. May contain path separators. root_src_path: []const u8, }; @@ -463,7 +463,7 @@ pub fn create(arena: Allocator, options: CreateOptions) !*Package.Module { /// All fields correspond to `CreateOptions`. pub const LimitedOptions = struct { - root: Package.Path, + root: Cache.Path, root_src_path: []const u8, fully_qualified_name: []const u8, }; |
