Remove unstable and test feature flags

This commit is contained in:
Michael Vines
2019-03-04 09:00:52 -08:00
parent bb774173bb
commit d708982f27
7 changed files with 6 additions and 10 deletions

View File

@ -18,8 +18,6 @@ chacha = ["solana/chacha"]
cuda = ["solana/cuda"] cuda = ["solana/cuda"]
erasure = ["solana/erasure"] erasure = ["solana/erasure"]
ipv6 = ["solana/ipv6", "solana-netutil/ipv6"] ipv6 = ["solana/ipv6", "solana-netutil/ipv6"]
test = ["solana/test"]
unstable = ["solana/unstable"]
[dev-dependencies] [dev-dependencies]
bincode = "1.1.2" bincode = "1.1.2"

View File

@ -134,7 +134,8 @@ Edit `ci/testnet-manager.sh`
Benchmarking Benchmarking
--- ---
First install the nightly build of rustc. `cargo bench` requires unstable features: First install the nightly build of rustc. `cargo bench` requires use of the
unstable features only available in the nightly build.
```bash ```bash
$ rustup install nightly $ rustup install nightly
@ -143,7 +144,7 @@ $ rustup install nightly
Run the benchmarks: Run the benchmarks:
```bash ```bash
$ cargo +nightly bench --features="unstable" $ cargo +nightly bench
``` ```
Release Process Release Process

View File

@ -1,4 +1,5 @@
#![cfg_attr(feature = "unstable", feature(test))] #![feature(test)]
extern crate rand; extern crate rand;
extern crate test; extern crate test;

View File

@ -39,7 +39,7 @@ fi
BENCH_FILE=bench_output.log BENCH_FILE=bench_output.log
BENCH_ARTIFACT=current_bench_results.log BENCH_ARTIFACT=current_bench_results.log
_ cargo +nightly bench --features=unstable ${V:+--verbose} \ _ cargo +nightly bench ${V:+--verbose} \
-- -Z unstable-options --format=json | tee "$BENCH_FILE" -- -Z unstable-options --format=json | tee "$BENCH_FILE"
# Run bpf_loader bench with bpf_c feature enabled # Run bpf_loader bench with bpf_c feature enabled

View File

@ -18,8 +18,6 @@ chacha = []
cuda = [] cuda = []
erasure = [] erasure = []
ipv6 = ["solana-netutil/ipv6"] ipv6 = ["solana-netutil/ipv6"]
test = []
unstable = []
[dependencies] [dependencies]
bincode = "1.1.2" bincode = "1.1.2"

View File

@ -6,7 +6,6 @@
//! (see [ThinClient](thin_client/struct.ThinClient.html)) to interact with them. //! (see [ThinClient](thin_client/struct.ThinClient.html)) to interact with them.
//! //!
#![cfg_attr(feature = "unstable", feature(test))]
pub mod bank_forks; pub mod bank_forks;
pub mod banking_stage; pub mod banking_stage;
pub mod blob_fetch_stage; pub mod blob_fetch_stage;

View File

@ -28,4 +28,3 @@ chacha = ["solana/chacha"]
cuda = ["solana/cuda"] cuda = ["solana/cuda"]
erasure = ["solana/erasure"] erasure = ["solana/erasure"]
ipv6 = ["solana/ipv6"] ipv6 = ["solana/ipv6"]
unstable = ["solana/unstable"]