Skip to main content

packaged_paths

Function packaged_paths 

Source
pub fn packaged_paths(exe_dir: &Path, target: &str) -> [PathBuf; 2]
Expand description

Where a package keeps the build for target, relative to srv’s own folder (exe_dir): tools/remote/<target>/ beside the other bundled tools, or, in a macOS app, ../Resources/remote/<target>/, because the bundle seal only allows Mach-O code under Contents/MacOS and the Linux builds are data there.