File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ pub fn build(b: *std.Build) void {
88
99 _ = b .addModule ("ziglangSet" , .{
1010 .root_source_file = .{ .path = "src/root.zig" },
11+ .target = target ,
12+ .optimize = optimize ,
1113 });
1214
1315 const main_tests = b .addTest (.{
Original file line number Diff line number Diff line change 2121
2222/// Set is just a short convenient "default" alias. If you don't know
2323/// which to pick, just use Set.
24- const Set = HashSetManaged ;
24+ pub const Set = HashSetManaged ;
2525
2626/// HashSetUnmanaged is a conveniently exported "unmanaged" version of a hash-based Set.
27- const HashSetUnmanaged = @import ("hash_set/unmanaged.zig" ).HashSetUnmanaged ;
27+ pub const HashSetUnmanaged = @import ("hash_set/unmanaged.zig" ).HashSetUnmanaged ;
2828/// HashSetManaged is a conveniently exported "managed" version of a hash_based Set.
29- const HashSetManaged = @import ("hash_set/managed.zig" ).HashSetManaged ;
29+ pub const HashSetManaged = @import ("hash_set/managed.zig" ).HashSetManaged ;
3030
3131/// ArraySetUnmanaged is a conveniently exported "unmanaged" version of an array-based Set.
3232/// This is a bit more specialized and optimized for heavy iteration.
33- const ArraySetUnmanaged = @import ("array_hash_set/unmanaged.zig" ).ArraySetUnmanaged ;
33+ pub const ArraySetUnmanaged = @import ("array_hash_set/unmanaged.zig" ).ArraySetUnmanaged ;
3434
You can’t perform that action at this time.
0 commit comments