Skip to content

Why does ZLS not work with my project? #1996

Answered by llogick
lucas-yotsui asked this question in Q&A
Discussion options

You must be logged in to vote

Probably getting unlucky with the name overlap

	{
      "name": "UniMicro",
      "path": "~/.cache/zig/p/12206801d1a7b7dc44b8542e064ff7b3e82bc242964a7e601af337ea860707bd7df5/hal/stmicro/stm32f411cc/hal.zig"
    },
    {
      "name": "UniMicro",
      "path": "~/.cache/zig/p/12206801d1a7b7dc44b8542e064ff7b3e82bc242964a7e601af337ea860707bd7df5/build.zig"
    }

Could you post the output of (run in the root folder of your test project):
zig build --build-runner /home/lucas/.cache/zls/build_runner/21872970afd69e48a0847077e5196711/build_runner.zig

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lucas-yotsui
Comment options

@llogick
Comment options

Answer selected by lucas-yotsui
@lucas-yotsui
Comment options

@lucas-yotsui
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants