mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 01:24:49 +01:00
Allow overriding std.Io at a namespace level.
This should only be used when the fundamental types break down, e.g. on freestanding or when adding support for a non-posix OS, where std.Io.File.Handle is set to void.
This commit is contained in:
parent
bf1b9318a9
commit
e314dadb01
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ pub const EnumMap = enums.EnumMap;
|
|||
pub const EnumSet = enums.EnumSet;
|
||||
pub const HashMap = hash_map.HashMap;
|
||||
pub const HashMapUnmanaged = hash_map.HashMapUnmanaged;
|
||||
pub const Io = @import("Io.zig");
|
||||
pub const Io = if (@hasDecl(root, "std_options_Io")) root.std_options_Io else @import("Io.zig");
|
||||
pub const MultiArrayList = @import("multi_array_list.zig").MultiArrayList;
|
||||
pub const PriorityQueue = @import("priority_queue.zig").PriorityQueue;
|
||||
pub const PriorityDequeue = @import("priority_dequeue.zig").PriorityDequeue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue