fix(cli): compatible with zig 0.10.0

This commit is contained in:
LongYinan 2022-11-05 00:11:23 +08:00
parent 0731e00217
commit 32cf02e633
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -30,7 +30,7 @@ const ZIG_PLATFORM_TARGET_MAP = {
// 'x86_64-pc-windows-gnu': 'x86_64-windows-gnu', // 'x86_64-pc-windows-gnu': 'x86_64-windows-gnu',
// https://github.com/ziglang/zig/issues/1759 // https://github.com/ziglang/zig/issues/1759
// 'x86_64-unknown-freebsd': 'x86_64-freebsd', // 'x86_64-unknown-freebsd': 'x86_64-freebsd',
'x86_64-apple-darwin': 'x86_64-macos-gnu', 'x86_64-apple-darwin': 'x86_64-macos',
'aarch64-apple-darwin': 'aarch64-macos', 'aarch64-apple-darwin': 'aarch64-macos',
'aarch64-unknown-linux-gnu': 'aarch64-linux-gnu', 'aarch64-unknown-linux-gnu': 'aarch64-linux-gnu',
'aarch64-unknown-linux-musl': 'aarch64-linux-musl', 'aarch64-unknown-linux-musl': 'aarch64-linux-musl',