Giter VIP home page Giter VIP logo

Comments (3)

metroidchild avatar metroidchild commented on July 21, 2024

Just to confirm, the path on your computer actually ends with \\bin\\zig.exe, and not something like \\bin\\zig-windows-<version>\\zig.exe?

This default unzipping behavior of windows caught myself off guard after using linux for an extended period of time.

from vscode-zig.

zwn avatar zwn commented on July 21, 2024

It does. It is installed with zigup. It is some kind of forwarding exe to the real thing that lives in the same directory in subdirectory zig\\0.11.0\\files\\zig.exe. I can use it from cmd prompt:

C:\Users\Zbynek\bin>where zig
C:\Users\Zbynek\bin\zig.exe

C:\Users\Zbynek\bin>zig version
0.11.0

But that has given me an idea - when I set the path to c:\Users\Zbynek\bin\zig\0.11.0\files\zig.exe which is the real executable to which the zigup-provided zig.exe forwards, it works. When I replace the forwarding executable with a soft link, it also works ok.

C:\Users\Zbynek\bin>dir zig.exe
 Volume in drive C is Windows
 Volume Serial Number is 4624-DE45

 Directory of C:\Users\Zbynek\bin

28/10/2023  17:31    <SYMLINK>      zig.exe [c:\Users\Zbynek\bin\zig\0.11.0\files\zig.exe]
...

So the issue actually seems to be that the extension does not like what zigup is doing wrt the forwarding exe.

from vscode-zig.

Vexu avatar Vexu commented on July 21, 2024

Note that zigup is redundant with this extension installed.

from vscode-zig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.