diff --git a/lib/std/debug.zig b/lib/std/debug.zig index d999de6a17..3e52770932 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -357,7 +357,7 @@ pub const StackIterator = struct { else 0; - fn next(self: *StackIterator) ?usize { + pub fn next(self: *StackIterator) ?usize { var address = self.next_internal() orelse return null; if (self.first_address) |first_address| {