Skip to content
Snippets Groups Projects
Commit c3da2a25 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(#125): config(all()) for multiple required features

parent 6fc41d0e
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,7 @@ impl SubstrateCli for Cli { ...@@ -122,7 +122,7 @@ impl SubstrateCli for Cli {
"gdev_live" => Box::new(chain_spec::gdev::gen_live_conf("resources/gdev.json")?), "gdev_live" => Box::new(chain_spec::gdev::gen_live_conf("resources/gdev.json")?),
// hardcoded previously generated raw chainspecs // hardcoded previously generated raw chainspecs
// yields a pointlessly heavy binary because of hexadecimal-text-encoded values // yields a pointlessly heavy binary because of hexadecimal-text-encoded values
#[cfg(feature = "gdev", feature = "embed")] #[cfg(all(feature = "gtest", feature = "embed"))]
"gdev" => Box::new(chain_spec::gdev::ChainSpec::from_json_bytes( "gdev" => Box::new(chain_spec::gdev::ChainSpec::from_json_bytes(
&include_bytes!("../specs/gdev-raw.json")[..], &include_bytes!("../specs/gdev-raw.json")[..],
)?), )?),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment