Repository: autozimu/LanguageClient-neovim (language: rust)

Issue:
Add (Linux) ARM targets to pre-built binaries
## Describe the solution you'd like
Anyway we could add ARM targets to the pre-built binary list; specifically `armv8`: `aarch64-unknown-linux-gnu`... Is it as simple as adding the target triplet to [line 17](https://github.com/autozimu/LanguageClient-neovim/blob/29d8ef8841b849437ea2e47b60f2581b2fd81f5e/.travis.yml#L17) of the Travis build config? I would be happy to open a PR...

## Describe alternatives you've considered
It is pretty annoying to have to compile on my Chromebook (which takes about 15ish minutes) every time I want to update the plugin via a plugin manager...

PS very cool that you are migrating to Rust! Have you measured the performance improvement over Python yet?


Discussion / hints:
I guess we could also throw in `arm-unknown-linux-gnueabi ` and `arm-unknown-linux-gnueabihf` to cover ARMv6 and ARMv7 at the same time...
Beside the referenced line, there is one more line to add in `install.sh` https://github.com/autozimu/LanguageClient-neovim/blob/29d8ef8841b849437ea2e47b60f2581b2fd81f5e/install.sh#L45-L51

With that, I think it should be sufficient.

I haven't done any benchmark yet. The main motivation is to ease distribution.

Fix patch:
diff --git a/.travis.yml b/.travis.yml
index 3c482f8a3..dbe2872e1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,7 +14,7 @@ env:
 matrix:
   include:
     # Linux
-    - env: TARGETS=i686-unknown-linux-musl:x86_64-unknown-linux-musl:i686-pc-windows-gnu:x86_64-pc-windows-gnu:x86_64-unknown-freebsd
+    - env: TARGETS=i686-unknown-linux-musl:x86_64-unknown-linux-musl:armv7-unknown-linux-musleabihf:aarch64-unknown-linux-gnu:i686-pc-windows-gnu:x86_64-pc-windows-gnu:x86_64-unknown-freebsd
 
     # OSX
     - env: TARGETS=x86_64-apple-darwin
diff --git a/INSTALL.md b/INSTALL.md
index c86987e07..fc3bc2446 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -15,6 +15,8 @@ None.
 > release` as post action after plugin installation and update. e.g., `Plug
 > 'autozimu/LanguageClient-neovim', {'branch': 'next', 'do': 'make release'}`.
 
+> Android is not supported using the `install.sh` script.
+
 Choose steps matching your plugin manager.
 
 ## [vim-plug](https://github.com/junegunn/vim-plug) user
diff --git a/install.sh b/install.sh
index 3ac7a86ba..c49352b79 100755
--- a/install.sh
+++ b/install.sh
@@ -45,6 +45,8 @@ arch=$(uname -sm)
 case "${arch}" in
     "Linux x86_64") download $name-$version-x86_64-unknown-linux-musl ;;
     "Linux i686") download $name-$version-i686-unknown-linux-musl ;;
+    "Linux aarch64") download $name-$version-aarch64-unknown-linux-gnu ;;
+    "Linux armv7"*) download $name-$version-armv7-unknown-musleabihf ;;
     "Darwin x86_64") download $name-$version-x86_64-apple-darwin ;;
     "FreeBSD amd64") download $name-$version-x86_64-unknown-freebsd ;;
     *) echo "No pre-built binary available for ${arch}."; try_build ;;


Test patch: