Skip to main content

build_elf

Function build_elf 

Source
pub fn build_elf(manifest_dir: &str, bin_name: &str) -> PathBuf
Expand description

Cross-compile bin_name in manifest_dir for riscv64emc-pvm2 and return the path to the resulting ELF.

manifest_dir is relative to the calling build.rs’s CARGO_MANIFEST_DIR.