@@ -105,9 +105,9 @@ const LintExcludeSource = union(enum) {
105105};
106106
107107const StepBuilder = struct {
108- rules : shims .ArrayList (BuiltRule ),
109- include : shims .ArrayList (LintIncludeSource ),
110- exclude : shims .ArrayList (LintExcludeSource ),
108+ rules : std .ArrayList (BuiltRule ),
109+ include : std .ArrayList (LintIncludeSource ),
110+ exclude : std .ArrayList (LintExcludeSource ),
111111 options : BuildOptions ,
112112 b : * std.Build ,
113113
@@ -388,13 +388,13 @@ pub fn build(b: *std.Build) void {
388388
389389 const lint_cmd = b .step ("lint" , "Lint the linters own source code." );
390390 lint_cmd .dependOn (step : {
391- var include = shims .ArrayList (LintIncludeSource ).empty ;
391+ var include = std .ArrayList (LintIncludeSource ).empty ;
392392 include .append (b .allocator , .compiled (b .addLibrary (.{
393393 .name = "zlinter" ,
394394 .root_module = zlinter_lib_module ,
395395 }))) catch @panic ("OOM" );
396396
397- var exclude = shims .ArrayList (LintExcludeSource ).empty ;
397+ var exclude = std .ArrayList (LintExcludeSource ).empty ;
398398
399399 // Also lint all files within project, not just those resolved to our compiled source.
400400 include .append (b .allocator , .{ .path = b .path ("./" ) }) catch @panic ("OOM" );
@@ -735,7 +735,7 @@ fn createRulesModule(
735735 rules : []const BuiltRule ,
736736 build_rules_output : std.Build.LazyPath ,
737737) * std.Build.Module {
738- var rule_imports = shims .ArrayList (std .Build .Module .Import ).empty ;
738+ var rule_imports = std .ArrayList (std .Build .Module .Import ).empty ;
739739 for (rules ) | r | rule_imports .append (b .allocator , r .import ) catch @panic ("OOM" );
740740 defer rule_imports .deinit (b .allocator );
741741
@@ -772,7 +772,7 @@ const ZlinterRun = struct {
772772 step : std.Build.Step ,
773773
774774 /// CLI arguments to be passed to zlinter when executed
775- argv : shims .ArrayList (Arg ),
775+ argv : std .ArrayList (Arg ),
776776
777777 /// Exclude paths confiured within the build file.
778778 exclude : []const LintExcludeSource ,
@@ -852,7 +852,7 @@ const ZlinterRun = struct {
852852
853853 const b = step .owner ;
854854
855- var list : shims .ArrayList ([]const u8 ) = try .initCapacity (
855+ var list : std .ArrayList ([]const u8 ) = try .initCapacity (
856856 b .allocator ,
857857 paths .len ,
858858 );
@@ -876,7 +876,7 @@ const ZlinterRun = struct {
876876 var cwd_buff : [std .fs .max_path_bytes ]u8 = undefined ;
877877 const cwd : BuildCwd = .init (& cwd_buff );
878878
879- var includes : shims .ArrayList (std .Build .LazyPath ) = try .initCapacity (
879+ var includes : std .ArrayList (std .Build .LazyPath ) = try .initCapacity (
880880 b .allocator ,
881881 @max (1 , run .include .len ),
882882 );
@@ -933,7 +933,7 @@ const ZlinterRun = struct {
933933 includes .appendAssumeCapacity (b .path ("./" ));
934934 }
935935
936- var excludes : shims .ArrayList (std .Build .LazyPath ) = try .initCapacity (b .allocator , run .exclude .len );
936+ var excludes : std .ArrayList (std .Build .LazyPath ) = try .initCapacity (b .allocator , run .exclude .len );
937937 defer excludes .deinit (b .allocator );
938938 for (run .exclude ) | exclude | {
939939 switch (exclude ) {
@@ -948,7 +948,7 @@ const ZlinterRun = struct {
948948
949949 var environ_map = b .graph .environ_map ;
950950
951- var argv_list = shims .ArrayList ([]const u8 ).initCapacity (
951+ var argv_list = std .ArrayList ([]const u8 ).initCapacity (
952952 arena ,
953953 run .argv .items .len + 1 ,
954954 ) catch @panic ("OOM" );
0 commit comments