Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const builtin = @import("builtin");
const zls_version: std.SemanticVersion = .{ .major = 0, .minor = 16, .patch = 0, .pre = "dev" };

/// Specify the minimum Zig version that is required to compile and test ZLS:
/// std.Io: delete GenericReader, AnyReader, FixedBufferStream; and related API breakage
/// std.Build.Step.Run: Enable passing (generated) file content as args
///
/// If you do not use Nix, a ZLS maintainer can take care of this.
/// Whenever this version is increased, run the following command:
Expand All @@ -15,7 +15,7 @@ const zls_version: std.SemanticVersion = .{ .major = 0, .minor = 16, .patch = 0,
/// ```
///
/// Also update the `minimum_zig_version` in `build.zig.zon`.
const minimum_build_zig_version = "0.16.0-dev.156+b7104231a";
const minimum_build_zig_version = "0.16.0-dev.313+be571f32c";

/// Specify the minimum Zig version that is usable with ZLS:
/// Release 0.15.1
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.version = "0.16.0-dev",
// Must be kept in line with the `minimum_build_zig_version` in `build.zig`.
// Should be a Zig version that is downloadable from https://ziglang.org/download/ or a mirror.
.minimum_zig_version = "0.16.0-dev.168+d51d18c98",
.minimum_zig_version = "0.16.0-dev.368+2a97e0af6",
// If you do not use Nix, a ZLS maintainer can take care of this.
// Whenever the dependencies are updated, run the following command:
// ```bash
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions src/analyser/InternPool.zig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ lock: RwLock,

limbs: std.ArrayList(usize),

decls: std.SegmentedList(InternPool.Decl, 0),
structs: std.SegmentedList(InternPool.Struct, 0),
enums: std.SegmentedList(InternPool.Enum, 0),
unions: std.SegmentedList(InternPool.Union, 0),
decls: SegmentedList(InternPool.Decl, 0),
structs: SegmentedList(InternPool.Struct, 0),
enums: SegmentedList(InternPool.Enum, 0),
unions: SegmentedList(InternPool.Union, 0),

const InternPool = @This();
const std = @import("std");
Expand All @@ -25,6 +25,7 @@ const expectFmt = std.testing.expectFmt;
pub const StringPool = @import("string_pool.zig").StringPool(.{});
pub const String = StringPool.String;
const ErrorMsg = @import("error_msg.zig").ErrorMsg;
const SegmentedList = @import("segmented_list.zig").SegmentedList;

pub const RwLock = if (builtin.single_threaded)
std.Thread.RwLock.SingleThreadedRwLock
Expand Down
Loading
Loading