I would like to ask a question about the build command. I use multiple configuration files in the project, and I want to be able to control the imported configuration through --features
when building, but it seems that the cargo concordium build
directive does not support the --features
option. Is there any solution? Code example:
#[cfg(feature = “local”)]
mod local_constants;
#[cfg(feature = “local”)]
use local_constants::*;
#[cfg(any(
feature = “production”,
feature = “development”,
feature = “sandbox”,
feature = “local”
))]
const ONE: StakingBalanceAmount = 1u8;