Remove unstable and test feature flags
This commit is contained in:
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#![cfg_attr(feature = "unstable", feature(test))]
|
#![feature(test)]
|
||||||
|
|
||||||
extern crate rand;
|
extern crate rand;
|
||||||
extern crate test;
|
extern crate test;
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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;
|
||||||
|
@ -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"]
|
|
||||||
|
Reference in New Issue
Block a user