Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #7096 from paritytech/td-nodef-features
Browse files Browse the repository at this point in the history
Fix no-default-features.
  • Loading branch information
debris authored Nov 21, 2017
2 parents d105bc2 + 4f5d73c commit ab73072
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions parity/dapps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ mod server {

pub struct Middleware;
impl RequestMiddleware for Middleware {
fn on_request(
&self, _req: &hyper::server::Request<hyper::net::HttpStream>, _control: &hyper::Control
) -> RequestMiddlewareAction {
fn on_request(&self, _req: hyper::Request) -> RequestMiddlewareAction {
unreachable!()
}
}
Expand Down
4 changes: 4 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ esac

set -e

# Validate chainspecs
./scripts/validate_chainspecs.sh

cargo test -j 8 $OPTIONS --features "$FEATURES" --all --exclude evmjit $1

# Validate --no-default-features build
cargo check --no-default-features

0 comments on commit ab73072

Please sign in to comment.