Skip to content

fix: set ZIG_LIB_DIR before spawning zls#672

Merged
aherrmann merged 1 commit into
mainfrom
fix-zls-zig-naked-call
Jun 30, 2026
Merged

fix: set ZIG_LIB_DIR before spawning zls#672
aherrmann merged 1 commit into
mainfrom
fix-zls-zig-naked-call

Conversation

@cerisier

Copy link
Copy Markdown
Member

When zig is being built from source, the resulting binary may not be materialized as a zig installation, and might not have adjacent lib directory.

This is an issue within zls might call the naked zig binary which will fail in our case until ZIG_LIB_DIR is set.

When zig is being built from source, the resulting binary may not
be materialized as a zig installation, and might not have adjacent
lib directory.

This is an issue within zls might call the naked zig binary which
will fail in our case until ZIG_LIB_DIR is set.

@aherrmann aherrmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@aherrmann aherrmann enabled auto-merge June 30, 2026 06:35
@aherrmann aherrmann merged commit 3de4c6b into main Jun 30, 2026
48 of 52 checks passed
@aherrmann aherrmann deleted the fix-zls-zig-naked-call branch June 30, 2026 06:42
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