Updated docs to point to rust-build 1.55.0 for TCP and UDP bind fixes (#39)
This fixes https://github.com/esp-rs/rust/issues/81
This commit is contained in:
parent
da93486461
commit
bd7c44a38a
|
|
@ -17,7 +17,7 @@ sudo apt install gcc wget xz-utils
|
||||||
|
|
||||||
rustup toolchain install nightly
|
rustup toolchain install nightly
|
||||||
|
|
||||||
VERSION="1.54.0-dev"
|
VERSION="1.55.0-dev"
|
||||||
ARCH="x86_64-unknown-linux-gnu"
|
ARCH="x86_64-unknown-linux-gnu"
|
||||||
RUST_DIST="rust-${VERSION}-${ARCH}"
|
RUST_DIST="rust-${VERSION}-${ARCH}"
|
||||||
RUST_SRC_DIST="rust-src-${VERSION}"
|
RUST_SRC_DIST="rust-src-${VERSION}"
|
||||||
|
|
@ -25,11 +25,11 @@ TOOLCHAIN_DESTINATION_DIR="~/.rustup/toolchains/esp"
|
||||||
|
|
||||||
mkdir -p ${TOOLCHAIN_DESTINATION_DIR}
|
mkdir -p ${TOOLCHAIN_DESTINATION_DIR}
|
||||||
|
|
||||||
wget https://dl.espressif.com/dl/idf-rust/dist/${ARCH}/${RUST_DIST}.tar.xz
|
wget https://github.com/esp-rs/rust-build/releases/download/v${VERSION}/${RUST_DIST}.tar.xz
|
||||||
tar xvf ${RUST_DIST}.tar.xz
|
tar xvf ${RUST_DIST}.tar.xz
|
||||||
./${RUST_DIST}/install.sh --destdir=${TOOLCHAIN_DESTINATION_DIR} --prefix="" --without=rust-docs
|
./${RUST_DIST}/install.sh --destdir=${TOOLCHAIN_DESTINATION_DIR} --prefix="" --without=rust-docs
|
||||||
|
|
||||||
wget https://dl.espressif.com/dl/idf-rust/dist/noarch/${RUST_SRC_DIST}.tar.xz
|
wget https://github.com/esp-rs/rust-build/releases/download/v${VERSION}/${RUST_SRC_DIST}.tar.xz
|
||||||
tar xvf ${RUST_SRC_DIST}.tar.xz
|
tar xvf ${RUST_SRC_DIST}.tar.xz
|
||||||
./${RUST_SRC_DIST}/install.sh --destdir=${TOOLCHAIN_DESTINATION_DIR} --prefix="" --without=rust-docs
|
./${RUST_SRC_DIST}/install.sh --destdir=${TOOLCHAIN_DESTINATION_DIR} --prefix="" --without=rust-docs
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue