Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
42c871b9
Commit
42c871b9
authored
1 year ago
by
bgallois
Committed by
Hugo Trentesaux
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
fix unused imports
parent
ac8f2554
No related branches found
No related tags found
1 merge request
!244
Fix compilation error `use of unstable library feature 'stdsimd'`
Pipeline
#36210
skipped
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
node/src/command.rs
+2
-2
2 additions, 2 deletions
node/src/command.rs
node/src/service.rs
+3
-0
3 additions, 0 deletions
node/src/service.rs
with
5 additions
and
2 deletions
node/src/command.rs
+
2
−
2
View file @
42c871b9
...
@@ -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
};
...
...
This diff is collapsed.
Click to expand it.
node/src/service.rs
+
3
−
0
View file @
42c871b9
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment