Skip to content

Commit f68d824

Browse files
committed
Allow proc_macro_span feature
Workaround for dtolnay/proc-macro2#175
1 parent 7a8141b commit f68d824

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ matrix:
4646
- name: cargo +stable build --no-default-features
4747
rust: nightly
4848
env:
49-
- RUSTFLAGS="-Z allow-features="
49+
- RUSTFLAGS="-Z allow-features=proc_macro_span" # TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1564
5050
script:
5151
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
5252
- cargo build --manifest-path futures/Cargo.toml --no-default-features
@@ -60,7 +60,7 @@ matrix:
6060
- name: cargo +stable build (alloc)
6161
rust: nightly
6262
env:
63-
- RUSTFLAGS="-Z allow-features="
63+
- RUSTFLAGS="-Z allow-features=proc_macro_span" # TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1564
6464
script:
6565
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
6666
- cargo build --manifest-path futures/Cargo.toml --no-default-features --features alloc
@@ -71,15 +71,15 @@ matrix:
7171
- name: cargo +stable build (default features)
7272
rust: nightly
7373
env:
74-
- RUSTFLAGS="-Z allow-features="
74+
- RUSTFLAGS="-Z allow-features=proc_macro_span" # TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1564
7575
script:
7676
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
7777
- cargo build --all
7878

7979
- name: cargo +stable build (compat feature)
8080
rust: nightly
8181
env:
82-
- RUSTFLAGS="-Z allow-features="
82+
- RUSTFLAGS="-Z allow-features=proc_macro_span" # TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1564
8383
script:
8484
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
8585
- cargo build --manifest-path futures/Cargo.toml --features io-compat

0 commit comments

Comments
 (0)