Skip to content

Commit 920e4d8

Browse files
committed
Beta (1.28) toolchain
1 parent d0462d5 commit 920e4d8

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ matrix:
3737
- os: osx
3838
env: TARGET_CPU=nehalem PACKAGE_SUFFIX=osx_10_11-x86_64 NUGET_RUNTIME=osx.10.11-x64 UPLOAD_BUILD=True TARGET=x86_64-apple-darwin FETCH_COMMIT_SUFFIX=mac64
3939
language: rust
40-
rust: nightly-2018-04-04
40+
rust: beta
4141
install:
4242
- ci/travis_install.sh
4343
- brew install sccache

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ The [official Dockerfiles](https://github.com/imazen/dockerfiles_imageflow) are
189189
(tested on Ubuntu 14.04, 16.04, and 18.04.)
190190

191191
```bash
192-
#Install Rust Nightly by running
193-
`curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2018-05-15`
192+
#Install Rust 1.28+ by running
193+
`curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta`
194194
#Ensure build tools are installed (git, curl, wget, gcc, g++, nasm, pkg-config, openssl, ca-certificates)
195195
`sudo apt-get install git wget curl build-essential pkg-config libssl-dev libpng-dev nasm `
196196
```
@@ -209,8 +209,8 @@ The [official Dockerfiles](https://github.com/imazen/dockerfiles_imageflow) are
209209
1. Install [Ubuntu 18.04 from the Windows Store](https://www.microsoft.com/store/productId/9N9TNGVNDL3Q)
210210
2. Run Ubuntu 18.04 and create your username/password
211211
3. `sudo apt-get update` to update available packages.
212-
4. Install Rust Nightly by running
213-
`curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2018-05-15`
212+
4. Install Rust 1.28+ by running
213+
`curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta`
214214
5. Ensure build tools are installed (git, curl, wget, gcc, g++, nasm, pkg-config, openssl, ca-certificates)
215215
`sudo apt-get install git wget curl build-essential pkg-config libssl-dev libpng-dev nasm `
216216
6. (optional) To use a graphical text editor, you'll need to download imageflow to a "Windows" directory, then map it to a location in Ubuntu.
@@ -225,7 +225,7 @@ The [official Dockerfiles](https://github.com/imazen/dockerfiles_imageflow) are
225225
2. Install [Git 64-bit](https://git-scm.com/download/win).
226226
3. `Run As Administrator` the [NASM 64-bit](http://www.nasm.us/pub/nasm/releasebuilds/2.12.02/win64/nasm-2.12.02-installer-x64.exe) installer - it will not prompt.
227227
4. Install [Rust 64-bit](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe) if you want 64-bit Imageflow or [Rust 32-bit](https://static.rust-lang.org/rustup/dist/i686-pc-windows-msvc/rustup-init.exe) if you don't.
228-
Install toolchain `nightly-2018-05-15` as the default, and confirm adding it to `PATH`.
228+
Install toolchain `beta` as the default, and confirm adding it to `PATH`.
229229
5. Open the command line and switch to this repository's root directory
230230
5. Edit `ci/wintools/SETUP_PATH.bat` to ensure that rust/cargo, nasm, git, and Git/mingw64/bin are all in `%PATH%`.
231231
7. Run `win_enter_env.bat` to start a sub-shell (edit it if you want a 32-bit build)

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ build: false
33
environment:
44
RUST_BACKTRACE: 1
55
CARGO_INCREMENTAL: 1
6-
RUST_TOOLCHAIN: nightly-2018-04-04
6+
RUST_TOOLCHAIN: beta
77
VSINSTALL: "Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build"
88
VS150COMNTOOLS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\Tools\\"
99
TARGET_DIR: "target\\"

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121

2222
# You're going to need:
2323
# clang or gcc 4.8, 4.9, or 5.4
24-
# Rust nightly
24+
# Rust beta
2525
# nasm
2626
# OpenSSL (on linux)
2727
# DSSIM
@@ -30,7 +30,7 @@ fi
3030

3131
# Check prerequisites
3232
command -v zip >/dev/null 2>&1 || { echo -e "'zip' is required, but missing. Try: apt-get install zip\nAborting." >&2; exit 1; }
33-
command -v cargo >/dev/null 2>&1 || { echo -e "'cargo' is required, but missing. Try: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2018-04-04\nAborting." >&2; exit 1; }
33+
command -v cargo >/dev/null 2>&1 || { echo -e "'cargo' is required, but missing. Try: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta\nAborting." >&2; exit 1; }
3434
command -v dssim >/dev/null 2>&1 || { echo -e "'dssim' is required, but missing. Try: cargo install dssim\nAborting." >&2; exit 1; }
3535
command -v nasm >/dev/null 2>&1 || { echo -e "'nasm' is required, but missing. Try: apt-get install nasm\nAborting." >&2; exit 1; }
3636

ci/docker/musl/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ ENV SSL_VER=1.0.2j \
5656

5757

5858

59-
# #Install nightly Rust and make default
60-
# RUN RUSTVER="nightly-2018-04-04" && curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTVER -v \
59+
# #Install beta Rust and make default
60+
# RUN RUSTVER="beta" && curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTVER -v \
6161
# && rustup default $RUSTVER \
6262
# && HI=$(rustup which rustc) && HI=${HI%/bin/rustc} && export TOOLCHAIN_DIR=$HI && echo TOOLCHAIN_DIR=$TOOLCHAIN_DIR \
6363
# && sudo rm -rf $TOOLCHAIN_DIR/share/doc \
@@ -67,9 +67,9 @@ ENV SSL_VER=1.0.2j \
6767
# && rustup show \
6868
# && rustc -V
6969

70-
RUN RUSTVER="nightly-2018-04-04" && curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTVER -v \
70+
RUN RUSTVER="beta" && curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTVER -v \
7171
&& rustup target add x86_64-unknown-linux-musl
72-
RUN RUSTVER="nightly-2018-04-04" && rustup default $RUSTVER \
72+
RUN RUSTVER="beta" && rustup default $RUSTVER \
7373
&& rustup show \
7474
&& rustc -V \
7575
&& echo "[build]\ntarget = \"x86_64-unknown-linux-musl\"" > ~/.cargo/config
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
FROM imazen/imageflow_build_ubuntu14
2-
RUN rustup default nightly-2018-04-04
2+
RUN rustup default beta
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
FROM imazen/imageflow_build_ubuntu16
2-
RUN rustup default nightly-2018-04-04
2+
RUN rustup default beta

ci/nixtools/install_nightly_rust.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -e #Exit on failure.
44
set -x
55

6-
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2018-05-15
6+
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain beta

ci/wintools/win_verify_tools.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
echo ============ VERIFY TOOLS REPORT ==================
3-
echo RUST MUST BE NIGHTLY 2018-04-04 or later
3+
echo RUST MUST BE 1.28-beta or later
44
rustc -V
55
cargo -V
66

0 commit comments

Comments
 (0)