gitlabci: Add needed ENV vars.

abc8fb988f uses an feature of rayon
that's behind a compile time flag.
This commit is contained in:
Jordan Petridis 2018-04-18 05:13:33 +03:00
parent abc8fb988f
commit 18820202d7
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
4 changed files with 6 additions and 6 deletions

View File

@ -5,9 +5,9 @@ stages:
.cargo_test_template: &cargo_test
stage: test
# variables:
# RUSTFLAGS: "-C link-dead-code"
# RUST_BACKTRACE: "FULL"
variables:
RUSTFLAGS: "--cfg rayon_unstable"
RUST_BACKTRACE: "FULL"
before_script:
- apt-get update -yqq

2
Cargo.lock generated
View File

@ -1503,7 +1503,7 @@ dependencies = [
[[package]]
name = "rss"
version = "1.4.0"
source = "git+https://github.com/alatiera/rss#ca25285cb44d82c8dadfefe05f248ea9a14c996c"
source = "git+https://github.com/alatiera/rss#b4a5ff563bf3ab6f1c83b5c79e625ff0292aa480"
dependencies = [
"derive_builder 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"failure 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -42,7 +42,7 @@ impl Feed {
}
fn index_channel_items(self, pd: Podcast) -> Box<Future<Item = (), Error = DataError> + Send> {
let stream = stream::iter_ok::<_, DataError>(self.channel.items_owened());
let stream = stream::iter_ok::<_, DataError>(self.channel.items_owned());
let insert = stream
.filter_map(move |item| {
glue(&item, pd.id())

View File

@ -1,6 +1,6 @@
#!/bin/sh
export CARGO_HOME=$1/target/cargo-home
export RUSTFLAGS=--cfg rayon_unstable
export RUSTFLAGS="--cfg rayon_unstable"
cargo build --release -p hammond-gtk && cp $1/target/release/hammond-gtk $2