Replies: 1 comment
-
|
Have you added
It's just a simpler way to run a bunch of stuff required for building and running, didn't want to deal with make. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to build with
just build --release && sudo just installand encountered an error that says:+ cargo build --package lua-build /tmp/just-T9daGl/gen-lua-pb-defs: line 61: cargo: command not found error: Recipegen-lua-pb-defsfailed with exit code 127This happened because
gen-lua-pb-defsis a dependency ofinstall-lua-lib, which is a dependency of theinstallinstruction. Thegen-lua-pb-defsrecipe requires cargo, but my cargo executable is located at~/.cargo/bin/cargo, not in the system-wide path. My question is: Is the Justfile wrong, or is my Rust setup incorrect? I suspect that if I removeinstall-lua-libfrom the install instruction, that should solve the problem. However, I think this is the wrong approach, and I am also curious to know the reasoning behind the Justfile design. This is a beginner question because I am just starting in the Rust world.Beta Was this translation helpful? Give feedback.
All reactions