Trait CompilerBackend [source]

pub(crate) trait CompilerBackend {
    fn check(self: &Self, project: &ProjectRoot, deps: &HashMap<String, PathBuf>) -> Result<(), DealerError>;
    fn build(self: &Self, project: &ProjectRoot, deps: &HashMap<String, PathBuf>, output_dir: &Path, rusttime_path: &Path) -> Result<(), DealerError>;
    fn test(self: &Self, project: &ProjectRoot, deps: &HashMap<String, PathBuf>) -> Result<(), DealerError>;
    fn fmt(self: &Self, project_root: &Path, entry_file: &Path, project_name: &str, check: bool) -> Result<(), DealerError>;
}

Required Methods

build [source]

fn build(self: &Self, project: &ProjectRoot, deps: &HashMap<String, PathBuf>, output_dir: &Path, rusttime_path: &Path) -> Result<(), DealerError>

check [source]

fn check(self: &Self, project: &ProjectRoot, deps: &HashMap<String, PathBuf>) -> Result<(), DealerError>

fmt [source]

fn fmt(self: &Self, project_root: &Path, entry_file: &Path, project_name: &str, check: bool) -> Result<(), DealerError>

test [source]

fn test(self: &Self, project: &ProjectRoot, deps: &HashMap<String, PathBuf>) -> Result<(), DealerError>