Skip to content

Commit 10555fd

Browse files
authored
Bump MSRV to v1.40.0 (#1152)
1 parent 8423b1e commit 10555fd

File tree

4 files changed

+2
-24
lines changed

4 files changed

+2
-24
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ before_cache:
1515
- ./ci/clear_cache.sh
1616

1717
rust:
18-
- 1.39.0 # min supported
18+
- 1.40.0 # min supported
1919
- stable
2020
- beta
2121

@@ -38,4 +38,3 @@ install:
3838
script:
3939
- ./ci/run_stable_checks.sh
4040
- GECKODRIVER=$(pwd)/geckodriver ./ci/run_tests.sh
41-
- ./ci/run_emscripten_checks.sh

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<a href="https://crates.io/crates/yew"><img alt="Crate Info" src="https://img.shields.io/crates/v/yew.svg"/></a>
1212
<a href="https://docs.rs/yew/"><img alt="API Docs" src="https://img.shields.io/badge/docs.rs-yew-green"/></a>
1313
<a href="https://discord.gg/VQck8X4"><img alt="Discord Chat" src="https://img.shields.io/discord/701068342760570933"/></a>
14-
<a href="https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html"><img alt="Rustc Version 1.39+" src="https://img.shields.io/badge/rustc-1.39+-lightgray.svg"/></a>
14+
<a href="https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html"><img alt="Rustc Version 1.40+" src="https://img.shields.io/badge/rustc-1.40+-lightgray.svg"/></a>
1515
</p>
1616

1717
<h4>

ci/run_emscripten_checks.sh

-12
This file was deleted.

ci/run_tests.sh

-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/usr/bin/env bash
2-
echo "$(rustup default)" | grep -q "1.39.0"
3-
emscripten_supported=$?
42
set -euxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
53

64
(cd yew \
@@ -18,10 +16,3 @@ set -euxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_
1816
&& cargo test --doc)
1917

2018
(cd yew-stdweb && cargo test --target wasm32-unknown-unknown --features wasm_test)
21-
22-
# TODO - Emscripten builds are broken on rustc > 1.39.0
23-
if [ "$emscripten_supported" == "0" ]; then
24-
(cd yew-stdweb \
25-
&& cargo web test --target asmjs-unknown-emscripten \
26-
&& cargo web test --target wasm32-unknown-emscripten)
27-
fi

0 commit comments

Comments
 (0)