pub fn rtc_build(cli_build: ConfigOptsBuild, config: Option<PathBuf>) -> Result<Arc<RtcBuild>> {
        let base_layer = Self::file_and_env_layers(config)?;
        let build_layer = Self::cli_opts_layer_build(cli_build, base_layer);
        let build_opts = build_layer.build.unwrap_or_default();
        let tools_opts = build_layer.tools.unwrap_or_default();
        let hooks_opts = build_layer.hooks.unwrap_or_default();
        Ok(Arc::new(RtcBuild::new(build_opts, tools_opts, hooks_opts, false)?))
    }
/// Extract the runtime config for the build system based on all config layers.
Extract the runtime config for the build system based on all config layers.
Extract the runtime config for the build system based on all config layers .
pub fn rtc_build(cli_build: ConfigOptsBuild, config: Option<PathBuf>) -> Result<Arc<RtcBuild>> {
        let base_layer = Self::file_and_env_layers(config)?;
        let build_layer = Self::cli_opts_layer_build(cli_build, base_layer);
        let build_opts = build_layer.build.unwrap_or_default();
        let tools_opts = build_layer.tools.unwrap_or_default();
        let hooks_opts = build_layer.hooks.unwrap_or_default();
        Ok(Arc::new(RtcBuild::new(build_opts, tools_opts, hooks_opts, false)?))
    }
pub fn rtc_build ( cli_build : ConfigOptsBuild , config : Option < PathBuf > ) -> Result < Arc < RtcBuild > > { let base_layer = Self :: file_and_env_layers ( config ) ? ; let build_layer = Self :: cli_opts_layer_build ( cli_build , base_layer ) ; let build_opts = build_layer . build . unwrap_or_default ( ) ; let tools_opts = build_layer . tools . unwrap_or_default ( ) ; let hooks_opts = build_layer . hooks . unwrap_or_default ( ) ; Ok ( Arc :: new ( RtcBuild :: new ( build_opts , tools_opts , hooks_opts , false ) ? ) ) }
Extract the runtime config for the build system based on all config layers.
Extract the runtime config for the build system based on all config layers .
cli_build
ConfigOptsBuild
config
Option<PathBuf>
cli_build
ConfigOptsBuild
config
Option<PathBuf>