Skip to content

Conversation

@lesleyrs
Copy link
Contributor

Fixes segfault on windows when using --parse-file:

std/process.zig

    /// Call this to free the iterator's internal buffer if the iterator
    /// was created with `initWithAllocator` function.
    pub fn deinit(self: *ArgIterator) void {
        // Unless we're targeting WASI or Windows, this is a no-op.
        if (native_os == .wasi and !builtin.link_libc) {
            self.inner.deinit();
        }

        if (native_os == .windows) {
            self.inner.deinit();
        }
    }

nolanderc added a commit to lesleyrs/glsl_analyzer that referenced this pull request Oct 16, 2025
@nolanderc nolanderc merged commit dad84ef into nolanderc:main Oct 16, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants