Remove unstable and test feature flags
This commit is contained in:
parent
bb774173bb
commit
d708982f27
|
@ -18,8 +18,6 @@ chacha = ["solana/chacha"]
|
|||
cuda = ["solana/cuda"]
|
||||
erasure = ["solana/erasure"]
|
||||
ipv6 = ["solana/ipv6", "solana-netutil/ipv6"]
|
||||
test = ["solana/test"]
|
||||
unstable = ["solana/unstable"]
|
||||
|
||||
[dev-dependencies]
|
||||
bincode = "1.1.2"
|
||||
|
|
|
@ -134,7 +134,8 @@ Edit `ci/testnet-manager.sh`
|
|||
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
|
||||
$ rustup install nightly
|
||||
|
@ -143,7 +144,7 @@ $ rustup install nightly
|
|||
Run the benchmarks:
|
||||
|
||||
```bash
|
||||
$ cargo +nightly bench --features="unstable"
|
||||
$ cargo +nightly bench
|
||||
```
|
||||
|
||||
Release Process
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#![cfg_attr(feature = "unstable", feature(test))]
|
||||
#![feature(test)]
|
||||
|
||||
extern crate rand;
|
||||
extern crate test;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ fi
|
|||
|
||||
BENCH_FILE=bench_output.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"
|
||||
|
||||
# Run bpf_loader bench with bpf_c feature enabled
|
||||
|
|
|
@ -18,8 +18,6 @@ chacha = []
|
|||
cuda = []
|
||||
erasure = []
|
||||
ipv6 = ["solana-netutil/ipv6"]
|
||||
test = []
|
||||
unstable = []
|
||||
|
||||
[dependencies]
|
||||
bincode = "1.1.2"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//! (see [ThinClient](thin_client/struct.ThinClient.html)) to interact with them.
|
||||
//!
|
||||
|
||||
#![cfg_attr(feature = "unstable", feature(test))]
|
||||
pub mod bank_forks;
|
||||
pub mod banking_stage;
|
||||
pub mod blob_fetch_stage;
|
||||
|
|
|
@ -28,4 +28,3 @@ chacha = ["solana/chacha"]
|
|||
cuda = ["solana/cuda"]
|
||||
erasure = ["solana/erasure"]
|
||||
ipv6 = ["solana/ipv6"]
|
||||
unstable = ["solana/unstable"]
|
||||
|
|
Loading…
Reference in New Issue