diff --git a/node/src/command.rs b/node/src/command.rs
index 14825ec7978b0bf741dc42274c529d78c13eabf6..06d20f21180194c2882403504e86b59d749aa927 100644
--- a/node/src/command.rs
+++ b/node/src/command.rs
@@ -24,10 +24,10 @@ use crate::cli::{Cli, Subcommand};
 #[cfg(feature = "g1")]
 use crate::service::g1_executor::G1Executor;
 #[cfg(feature = "gdev")]
-#[cfg(feature = "runtime-benchmarks")]
+#[cfg(feature = "try-runtime")]
 use crate::service::gdev_executor::GDevExecutor;
 #[cfg(feature = "gtest")]
-#[cfg(feature = "runtime-benchmarks")]
+#[cfg(feature = "try-runtime")]
 use crate::service::gtest_executor::GTestExecutor;
 use crate::service::{IdentifyRuntimeType, RuntimeType};
 use crate::{chain_spec, service};
diff --git a/node/src/service.rs b/node/src/service.rs
index 35768f20485af832830b9ed79517fc80e3373243..72c8bae7b22676915059d15e561792a2a18fae87 100644
--- a/node/src/service.rs
+++ b/node/src/service.rs
@@ -48,6 +48,7 @@ type FullClient<RuntimeApi> =
 type FullBackend = sc_service::TFullBackend<Block>;
 type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;
 
+#[cfg(feature = "try-runtime")]
 #[cfg(feature = "gdev")]
 pub mod gdev_executor {
     pub use gdev_runtime;