forc_pkg

Function sway_build_config

Source
pub fn sway_build_config(
    manifest_dir: &Path,
    entry_path: &Path,
    build_target: BuildTarget,
    build_profile: &BuildProfile,
) -> Result<BuildConfig>
Expand description

Given a forc_pkg::BuildProfile, produce the necessary sway_core::BuildConfig required for compilation.