mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-13 18:10:19 +01:00
Update shadowsocks build instruction
This commit is contained in:
parent
c9b3656089
commit
232a7dc812
@ -97,7 +97,7 @@ It is recommended to use the official script, otherwise you may not find rustup.
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
|
||||
echo "source \$HOME/.cargo/env" >> $HOME/.bashrc && source $HOME/.cargo/env
|
||||
|
||||
rustup install $(cat ss-rust/src/main/rust/shadowsocks-rust/rust-toolchain)
|
||||
cd ss-rust/src/main/rust/shadowsocks-rust
|
||||
rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android
|
||||
```
|
||||
|
||||
|
@ -5,7 +5,7 @@ source "bin/init/env.sh"
|
||||
## Install rust
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
|
||||
source $HOME/.cargo/env
|
||||
rustup install $(cat ss-rust/src/main/rust/shadowsocks-rust/rust-toolchain)
|
||||
cd ss-rust/src/main/rust/shadowsocks-rust
|
||||
rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android
|
||||
|
||||
echo "rust.rustcCommand=$HOME/.cargo/bin/rustc" >>local.properties
|
||||
|
Loading…
Reference in New Issue
Block a user