Skip to content

Commit f97eb4c

Browse files
author
bors-servo
authored
Auto merge of #87 - nox:dumb-down, r=Ms2ger
Revert "Introduce an inprocess feature" This reverts commit a1b6926. See rust-lang/cargo#1197 (comment)
2 parents 0399005 + 586d597 commit f97eb4c

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

Cargo.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
[package]
22
name = "ipc-channel"
3-
version = "0.3.1"
3+
version = "0.4.0"
44

55
[lib]
66
name = "ipc_channel"
77
path = "lib.rs"
88

9-
[features]
10-
inprocess = []
11-
129
[dependencies]
1310
bincode = "0.5.9"
1411
lazy_static = "0.2"

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ install:
1313
build: false
1414

1515
test_script:
16-
- cargo test --verbose --features inprocess
16+
- cargo test --verbose

lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
99

10-
#![cfg_attr(feature = "inprocess", feature(mpsc_select))]
1110
#![feature(borrow_state)]
11+
#![cfg_attr(any(target_os="windows", target_os="android"), feature(mpsc_select))]
1212

1313
#[macro_use]
1414
extern crate lazy_static;

platform/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
// except according to those terms.
99

1010
mod os {
11-
#[cfg(all(not(feature = "inprocess"), target_os = "linux"))]
11+
#[cfg(target_os = "linux")]
1212
include!("linux/mod.rs");
1313

14-
#[cfg(all(not(feature = "inprocess"), target_os = "macos"))]
14+
#[cfg(target_os = "macos")]
1515
include!("macos/mod.rs");
1616

17-
#[cfg(feature = "inprocess")]
17+
#[cfg(any(target_os = "windows", target_os = "android"))]
1818
include!("inprocess/mod.rs");
1919
}
2020

0 commit comments

Comments
 (0)