gitlabci: Add needed ENV vars.
abc8fb988f uses an feature of rayon
that's behind a compile time flag.
This commit is contained in:
parent
abc8fb988f
commit
18820202d7
@ -5,9 +5,9 @@ stages:
|
|||||||
.cargo_test_template: &cargo_test
|
.cargo_test_template: &cargo_test
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
# variables:
|
variables:
|
||||||
# RUSTFLAGS: "-C link-dead-code"
|
RUSTFLAGS: "--cfg rayon_unstable"
|
||||||
# RUST_BACKTRACE: "FULL"
|
RUST_BACKTRACE: "FULL"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
|
|||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1503,7 +1503,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "rss"
|
name = "rss"
|
||||||
version = "1.4.0"
|
version = "1.4.0"
|
||||||
source = "git+https://github.com/alatiera/rss#ca25285cb44d82c8dadfefe05f248ea9a14c996c"
|
source = "git+https://github.com/alatiera/rss#b4a5ff563bf3ab6f1c83b5c79e625ff0292aa480"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"derive_builder 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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)",
|
"failure 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|||||||
@ -42,7 +42,7 @@ impl Feed {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn index_channel_items(self, pd: Podcast) -> Box<Future<Item = (), Error = DataError> + Send> {
|
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
|
let insert = stream
|
||||||
.filter_map(move |item| {
|
.filter_map(move |item| {
|
||||||
glue(&item, pd.id())
|
glue(&item, pd.id())
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export CARGO_HOME=$1/target/cargo-home
|
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
|
cargo build --release -p hammond-gtk && cp $1/target/release/hammond-gtk $2
|
||||||
Loading…
Reference in New Issue
Block a user