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 authored and GitHub committed 2023-02-07 14:31:04 +01:00
1 parent e004d5a5ed
commit 6dbf1cb443
6 files changed
+49 -26

No files matched your search

@@ -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,