From 317196633adbbfb78bf6b54232509bc1d2c7827c Mon Sep 17 00:00:00 2001 From: Yoshiboi18303 Date: Sun, 7 Dec 2025 19:38:19 -0500 Subject: [PATCH 1/3] fix(editing-support): Rustowl build failing due to no such file or directory, 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. --- lua/astrocommunity/editing-support/rustowl/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/editing-support/rustowl/init.lua b/lua/astrocommunity/editing-support/rustowl/init.lua index e6cda31f3..1bfb61892 100644 --- a/lua/astrocommunity/editing-support/rustowl/init.lua +++ b/lua/astrocommunity/editing-support/rustowl/init.lua @@ -1,7 +1,7 @@ return { "cordx56/rustowl", version = "*", - build = "cd rustowl && cargo install --path . --locked", + build = "cargo binstall rustowl --locked --no-confirm || cargo install rustowl", lazy = false, opts = {}, } From f94dcb6c496e34945aaf2ad312e605eb69b7b3fd Mon Sep 17 00:00:00 2001 From: Yoshiboi18303 Date: Mon, 8 Dec 2025 10:27:23 -0500 Subject: [PATCH 2/3] fix(rustowl): Use cargo install instead of relying on cargo-binstall. Also update README to suggest something that is kind of important. --- lua/astrocommunity/editing-support/rustowl/README.md | 6 ++++++ lua/astrocommunity/editing-support/rustowl/init.lua | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lua/astrocommunity/editing-support/rustowl/README.md b/lua/astrocommunity/editing-support/rustowl/README.md index 4049e8b99..4a6a69200 100644 --- a/lua/astrocommunity/editing-support/rustowl/README.md +++ b/lua/astrocommunity/editing-support/rustowl/README.md @@ -5,3 +5,9 @@ Visualize Ownership and Lifetimes in Rust. See docs for usage **Repository**: + +## Note + +This plugin can take a while to build, and `Lazy.nvim` has a build timeout. It's recommended to **increase the build timeout** +so this plugin can build. + diff --git a/lua/astrocommunity/editing-support/rustowl/init.lua b/lua/astrocommunity/editing-support/rustowl/init.lua index 1bfb61892..31c3d9d1d 100644 --- a/lua/astrocommunity/editing-support/rustowl/init.lua +++ b/lua/astrocommunity/editing-support/rustowl/init.lua @@ -1,7 +1,7 @@ return { "cordx56/rustowl", version = "*", - build = "cargo binstall rustowl --locked --no-confirm || cargo install rustowl", + build = "cargo install rustowl", lazy = false, opts = {}, } From c09549e7dd3217b92c24d343e172469a778259f9 Mon Sep 17 00:00:00 2001 From: Yoshiboi18303 Date: Mon, 8 Dec 2025 10:33:43 -0500 Subject: [PATCH 3/3] fix(rustowl): Use the --locked argument on cargo install. Probably important. --- lua/astrocommunity/editing-support/rustowl/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/editing-support/rustowl/init.lua b/lua/astrocommunity/editing-support/rustowl/init.lua index 31c3d9d1d..f9ecb25df 100644 --- a/lua/astrocommunity/editing-support/rustowl/init.lua +++ b/lua/astrocommunity/editing-support/rustowl/init.lua @@ -1,7 +1,7 @@ return { "cordx56/rustowl", version = "*", - build = "cargo install rustowl", + build = "cargo install --locked rustowl", lazy = false, opts = {}, }