pub fn resolveInstallDir( maker: *Maker, arena: Allocator, dest_dir: Configuration.InstallDestDir, ) Allocator.Error!Path
pub fn resolveInstallDir( maker: *Maker, arena: Allocator, dest_dir: Configuration.InstallDestDir, ) Allocator.Error!Path { const c = &maker.scanned_config.configuration; return switch (dest_dir.unpack().?) { .prefix => maker.install_paths.prefix, .lib => maker.install_paths.lib, .bin => maker.install_paths.bin, .header => maker.install_paths.include, .sub_path => |s| try maker.install_paths.prefix.join(arena, s.slice(c)), }; }