Skip to content

Commit 3ae6b18

Browse files
bors[bot]asomers
andauthored
Merge #1227 #1228
1227: Test on Rust stable again r=asomers a=asomers This commit reverts eba3b51, which worked around a Travis CI bug that has since been fixed. The effect is to resume testing on the latest Rust stable. 1228: Fix an "unused macro" warning on non-Linux platforms r=asomers a=asomers cc @glebpom Co-authored-by: Alan Somers <asomers@gmail.com>
3 parents 609d429 + 9703fb3 + 92c5cfe commit 3ae6b18

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,8 @@ matrix:
8585
rust: 1.36.0
8686

8787
# Make sure stable is always working too
88-
# FIXME: Travis's "stable" images are stuck on 1.35.0. Until that's fixed,
89-
# explicitly request 1.37.0, which is as of this writing the latest stable
90-
# release.
91-
# https://travis-ci.community/t/stable-rust-channel-outdated/4213
9288
- env: TARGET=x86_64-unknown-linux-gnu
93-
rust: 1.37.0
89+
rust: stable
9490

9591
# Test that we can build with the lowest version of all dependencies.
9692
# "cargo test" doesn't work because some of our dev-dependencies, like

test/test.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ cfg_if! {
102102
}
103103

104104
cfg_if! {
105-
if #[cfg(any(target_os = "android", target_os = "linux"))] {
105+
if #[cfg(target_os = "linux")] {
106106
macro_rules! require_kernel_version {
107107
($name:expr, $version_requirement:expr) => {
108108
use ::std::io::Write;
@@ -130,10 +130,6 @@ cfg_if! {
130130
}
131131
}
132132
}
133-
} else {
134-
macro_rules! require_kernel_version {
135-
($name:expr) => {}
136-
}
137133
}
138134
}
139135

0 commit comments

Comments
 (0)