Skip to content
Snippets Groups Projects
Commit 9cbe7fdb authored by Liam Aharon's avatar Liam Aharon Committed by GitHub
Browse files

docs: example of using `cargo run` with features (#14696)

* cargo run docs

* typo
parent a98bfc1b
Branches
No related merge requests found
......@@ -32,7 +32,10 @@ node-cli = { path = "bin/node/cli" }
# Exists here to be backwards compatible and to support `cargo run` in the workspace.
#
# Just uses the `node-cli` main binary. `node-cli` itself also again exposes the node as
# `substrate-node`. Using `node-cli` directly you can also enable features.
# `substrate-node`.
# `cargo run` on its own doesn't support features. To use features you must explicitly use
# `node-cli` in your command, e.g. `cargo run -p node-cli --features try-runtime ...`.
[[bin]]
name = "substrate"
path = "bin/node/cli/bin/main.rs"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment