Add ENV to zig-binary-path

Co-authored-by: Michael Bryan <michael@wasmer.io>
This commit is contained in:
Felix Schütt
2023-01-02 10:13:37 +01:00
committed by GitHub
parent c1b2c961d7
commit 5f87aa626e

View File

@@ -104,7 +104,7 @@ pub(crate) struct CrossCompile {
tarball: Option<PathBuf>,
/// Specify `zig` binary path (defaults to `zig` in $PATH if not present)
#[clap(long = "zig-binary-path", requires = "target")]
#[clap(long = "zig-binary-path", requires = "target", env)]
zig_binary_path: Option<PathBuf>,
}