-
-
Notifications
You must be signed in to change notification settings - Fork 305
fix(rustowl): Rustowl build failure #1695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…rectory, use cargo directly instead of running a premature cd. Change lua/astrocommunity/editing-support/rustowl/init.lua build command to use cargo binstall or cargo install. Compared to running cd rustowl, which doesn't work at all.
Review ChecklistDoes this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist: Proper conventional commit scoping:
|
|
This is one of my first pull requests to this repo, so... if anything is wrong, please let me know. |
|
Fixed the title, it was incorrect. My bad guys! |
Uzaaft
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove binstall, most rust users probably dont have it installed anyways. And installing pre-compiled binaries on the users machine smells.
|
Gotcha, I'll get back with a change. Running |
|
Attempting to find out how to increase the build timeout, stand by. |
|
Found it, just gotta review and make sure it's right. |
Also update README to suggest something that is kind of important.
|
Done. |
|
Forgot to use |
|
Would this work if the user doesnt have a nightly toolchain? Does cargo install respect the rust-toolchain file upstream? |
|
It should, I'll test it now. |
|
Yeah, it works off nightly. It's broken on nightly though, but that's probably their code not being fit for nightly. |
|
Probably not a big deal though, most people use stable, including me. |
Change lua/astrocommunity/editing-support/rustowl/init.lua build command to use cargo binstall or cargo install. Compared to running cd rustowl, which doesn't work at all.
📑 Description
This pull request should fix an issue with the rustowl plugin in
astrocommunity.editing-support.rustowlspec. Originally it would try to runcd rustowl && cargo install --path . --lockedin the build part, which fails at the first command with (the error depends on your shell):This uses cargo directly by either running
cargo binstallorcargo installif thecargo-binstallcrate isn't installed.📖 Additional Information