Skip to main content

binary_path3

Function binary_path3 

Source
pub fn binary_path3(file_name: &str, bytes: &[u8]) -> Option<String>
Expand description

Where a binary goes in an FMI 3.0 FMU: binaries/<architecture>-<system>/sim_fmi.<extension>, the system from the extension and the architecture (x86_64 or aarch64) from the binary’s header (PE, ELF or a thin 64-bit Mach-O). None for anything else, a universal Mach-O among it: FMI 3.0 wants one folder per architecture.