michaelb/sniprun

macOS apple ,can not compile sniprun

rileychc opened this issue · 4 comments

Describe the bug
cd ~/.local/share/nvim/site/lazy/sniprun
bash install.sh
Runnning Sniprun Installer
Looks you are not running Linux: Mac users have to compile sniprun themselves and thus need the Rust toolchain
Compiling sniprun locally:
Building sniprun from source...//it stop in this about 2 hours.

Screenshots

截屏2023-03-20 19 19 27

Environment:
NVIM v0.8.3
macOS 13.2.1 -apple ,isn't intel
iterm2 Build 3.4.19
xterm-256color

Hmmm quite strange

The message itself is normal, since you're on mac, non-x86 sure but still

I assume : checkhealth sniprun doesn't have any interesting info?

Sniprun has been reported to work correctly on M1 (and presumably M2) Apple devices, so I'd be curious of the output of cargo build --release run from a clone of this repo (clone manually or use the clone from your package manager)

Hi @michaelb The problem has been addressed in ayamir/nvimdots#586 (comment). It's caused by a timeout when trying to establish connection to crates.io.

This issue can be closed 😃