Open selfagency opened 1 year ago
Seems to be related to this: https://github.com/MSxDOS/ntapi/issues/19.
The error was fixed in ntapi 0.4, but one of the dependencies still uses 0.3.7
Also experiencing on Windows
Also experiencing on Windows. It's wierd since cargo -i ntapi
shows ntapi
has been updated to 0.4.1, but Rust still uses 0.3.7 to build. cargo update
doesn't help either.
Solved. Turned out that I'm so dumb that I forget to add the --path .
to cargo install
.
@endereyewxy Can you post the entire process and commands for the workaround? Thanks!
I think @endereyewxy is saying that they cloned the repo then installed from that directory (--path .
) rather than installing from the published version on crates.io. But I am not sure why this would make a difference.
I think the actual fix for this involves updating sysinfo
, notify-debouncer-full
and mio
, which depend on ntapi
. I opened a PR to update mio in https://github.com/zellij-org/zellij/pull/3214 which is pretty straightforward. I tried doing sysinfo
too but it was more painful since it more or less requires bumping nix
.
i realize you don't specifically support windows, but i thought you might be interested to know that cargo installation fails under windows due to the following error: