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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: mlugg/setup-zig@v2
with:
version: 0.15.1
version: 0.16.0-dev.1890+2bd02883c

- name: Checkout
uses: actions/checkout@v4
Expand All @@ -39,7 +39,7 @@ jobs:
steps:
- uses: mlugg/setup-zig@v2
with:
version: 0.15.1
version: 0.16.0-dev.1890+2bd02883c

- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .zigversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.1
0.16.0-dev.1890+2bd02883c
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.name = .base,
.fingerprint = 0xc0b4fe61a6f811ae,
.version = "0.1.0",
.minimum_zig_version = "0.15.1",
.minimum_zig_version = "0.16.0-dev.1890+2bd02883c",
.dependencies = .{},
.paths = .{
"build.zig",
Expand Down
4 changes: 0 additions & 4 deletions src/autodoc/wasm/Walk.zig
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ pub const Category = union(enum(u8)) {
};
};

pub var looking_for_gold = false;

pub const File = struct {
ast: Ast,
/// Maps identifiers to the declarations they point to.
Expand Down Expand Up @@ -907,8 +905,6 @@ fn expr(
try w.expr(scope, parent_decl, full.ast.template);
},

.asm_legacy => {},

.builtin_call_two,
.builtin_call_two_comma,
.builtin_call,
Expand Down
3 changes: 0 additions & 3 deletions src/autodoc/wasm/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1086,9 +1086,6 @@ export fn get_aliasee() Decl.Index {
}

export fn categorize_decl(decl_index: Decl.Index, resolve_alias_count: usize) Walk.Category.Tag {
Walk.looking_for_gold = true;
defer Walk.looking_for_gold = false;

global_aliasee = .none;
var chase_alias_n = resolve_alias_count;
var decl = decl_index.get();
Expand Down