mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 12:48:20 +00:00
Remove unpack zip functionality from unpack_tar_gz
This commit is contained in:
@@ -1579,6 +1579,17 @@ fn untar(tarball: std::path::PathBuf, target: std::path::PathBuf) -> Result<Vec<
|
||||
.collect())
|
||||
}
|
||||
|
||||
fn get_zig_exe_str() -> &'static str {
|
||||
#[cfg(target_os = "windows")]
|
||||
{
|
||||
"zig.exe"
|
||||
}
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
{
|
||||
"zig"
|
||||
}
|
||||
}
|
||||
|
||||
fn find_zig_binary(path: Option<PathBuf>) -> Result<PathBuf> {
|
||||
use std::env::split_paths;
|
||||
use std::ffi::OsStr;
|
||||
|
||||
Reference in New Issue
Block a user