nektro / zig-inquirer

A collection of utilities for prompting information from the user on the CLI
MIT License
22 stars 2 forks source link

build.zig not compatible with zig 0.13 #3

Open ErebusBat opened 1 month ago

ErebusBat commented 1 month ago

Just downloaded the repository, at rev aa5fa4c, attempting to build it results in two errors:

error: unable to load '~/src/vendor/zig-inquirer/deps.zig': FileNotFound

And this one, which I think is probably an error from using Zig v0.13.0:

error: root struct of file 'std' has no member named 'build'

Screenshot for readability: zsh_and_New_Issue_·_nektro_zig-inquirer

Is that to be expected?

nektro commented 1 month ago

this repo uses the Zigmod package manager. deps.zig is a generated file created by running zigmod fetch.

ErebusBat commented 1 month ago

Ahh... thank you! I am just learning zig.

That did indeed resolve the deps.zig error.

However the error: root struct of file 'std' has no member named 'build' still persists.

I assume that you are not using zig 13?

nektro commented 1 month ago

ah apologies, i must've updated the module code and forgot to update the build.zig