Skip to content

Commit

Permalink
Auto merge of #87 - nox:dumb-down, r=Ms2ger
Browse files Browse the repository at this point in the history
Revert "Introduce an inprocess feature"

This reverts commit a1b6926.
See rust-lang/cargo#1197 (comment)
  • Loading branch information
bors-servo authored Jul 12, 2016
2 parents 0399005 + 586d597 commit f97eb4c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
[package]
name = "ipc-channel"
version = "0.3.1"
version = "0.4.0"

[lib]
name = "ipc_channel"
path = "lib.rs"

[features]
inprocess = []

[dependencies]
bincode = "0.5.9"
lazy_static = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ install:
build: false

test_script:
- cargo test --verbose --features inprocess
- cargo test --verbose
2 changes: 1 addition & 1 deletion lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![cfg_attr(feature = "inprocess", feature(mpsc_select))]
#![feature(borrow_state)]
#![cfg_attr(any(target_os="windows", target_os="android"), feature(mpsc_select))]

#[macro_use]
extern crate lazy_static;
Expand Down
6 changes: 3 additions & 3 deletions platform/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
// except according to those terms.

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

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

#[cfg(feature = "inprocess")]
#[cfg(any(target_os = "windows", target_os = "android"))]
include!("inprocess/mod.rs");
}

Expand Down

0 comments on commit f97eb4c

Please sign in to comment.