Skip to content
Snippets Groups Projects
Commit 42c871b9 authored by bgallois's avatar bgallois Committed by Hugo Trentesaux
Browse files

fix unused imports

parent ac8f2554
No related branches found
No related tags found
1 merge request!244Fix compilation error `use of unstable library feature 'stdsimd'`
Pipeline #36210 skipped
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#![allow(unused_imports)]
pub mod key; pub mod key;
pub mod utils; pub mod utils;
...@@ -24,10 +26,8 @@ use crate::cli::{Cli, Subcommand}; ...@@ -24,10 +26,8 @@ use crate::cli::{Cli, Subcommand};
#[cfg(feature = "g1")] #[cfg(feature = "g1")]
use crate::service::g1_executor::G1Executor; use crate::service::g1_executor::G1Executor;
#[cfg(feature = "gdev")] #[cfg(feature = "gdev")]
#[cfg(feature = "runtime-benchmarks")]
use crate::service::gdev_executor::GDevExecutor; use crate::service::gdev_executor::GDevExecutor;
#[cfg(feature = "gtest")] #[cfg(feature = "gtest")]
#[cfg(feature = "runtime-benchmarks")]
use crate::service::gtest_executor::GTestExecutor; use crate::service::gtest_executor::GTestExecutor;
use crate::service::{IdentifyRuntimeType, RuntimeType}; use crate::service::{IdentifyRuntimeType, RuntimeType};
use crate::{chain_spec, service}; use crate::{chain_spec, service};
......
...@@ -48,6 +48,7 @@ type FullClient<RuntimeApi> = ...@@ -48,6 +48,7 @@ type FullClient<RuntimeApi> =
type FullBackend = sc_service::TFullBackend<Block>; type FullBackend = sc_service::TFullBackend<Block>;
type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>; type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;
#[allow(dead_code)]
#[cfg(feature = "gdev")] #[cfg(feature = "gdev")]
pub mod gdev_executor { pub mod gdev_executor {
pub use gdev_runtime; pub use gdev_runtime;
...@@ -66,6 +67,7 @@ pub mod gdev_executor { ...@@ -66,6 +67,7 @@ pub mod gdev_executor {
} }
} }
#[allow(dead_code)]
#[cfg(feature = "g1")] #[cfg(feature = "g1")]
pub mod g1_executor { pub mod g1_executor {
pub use g1_runtime; pub use g1_runtime;
...@@ -84,6 +86,7 @@ pub mod g1_executor { ...@@ -84,6 +86,7 @@ pub mod g1_executor {
} }
} }
#[allow(dead_code)]
#[cfg(feature = "gtest")] #[cfg(feature = "gtest")]
pub mod gtest_executor { pub mod gtest_executor {
pub use gtest_runtime; pub use gtest_runtime;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment