Disable hostperfcheck by default (#6640)

This feature should only be activated by the polkadot binary. Otherwise
parachains may accidentally activate this feature.
This commit is contained in:
Bastian Köcher
2023-02-07 14:31:04 +01:00
committed by GitHub
parent e004d5a5ed
commit 6dbf1cb443
6 changed files with 49 additions and 26 deletions
@@ -36,9 +36,6 @@ pub enum PerfCheckError {
#[error("This subcommand is only available in release mode")]
WrongBuildType,
#[error("This subcommand is only available when compiled with `{feature}`")]
FeatureNotEnabled { feature: &'static str },
#[error("No wasm code found for running the performance test")]
WasmBinaryMissing,