Open AM8bit opened 1 year ago
Im getting the exact same thing, trying with Bevy.
I also see this error at the top failed to run custom build command for zstd-sys v2.0.8+zstd.1.5.5
Mac M1 here. Similar error with tauri@2 + updater plugin(which depends on bzip2) or bare project with zstd as dependency
cargo build --target x86_64-pc-windows-msvc
Compiling zstd-sys v2.0.8+zstd.1.5.5 The following warnings were emitted during compilation: warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: GNU compiler is not supported for this target warning: /Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/debug.o: not a COFF object, bitcode, archive, import library or resource file error: failed to run custom build command for `zstd-sys v2.0.8+zstd.1.5.5` Caused by: process didn't exit successfully: `/Users/pavel.smirnov/Source/temp/zstd_test/target/debug/build/zstd-sys-5b68fde0c4f81d3a/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-env-changed=ZSTD_SYS_USE_PKG_CONFIG TARGET = Some("x86_64-pc-windows-msvc") OPT_LEVEL = Some("0") HOST = Some("aarch64-apple-darwin") cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc CC_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc CC_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_CC TARGET_CC = None cargo:rerun-if-env-changed=CC CC = None RUSTC_LINKER = Some("lld") cargo:rerun-if-env-changed=CROSS_COMPILE CROSS_COMPILE = None cargo:warning=GNU compiler is not supported for this target cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some("true") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc CFLAGS_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc CFLAGS_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_CFLAGS TARGET_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc CC_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc CC_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_CC TARGET_CC = None cargo:rerun-if-env-changed=CC CC = None RUSTC_LINKER = Some("lld") cargo:rerun-if-env-changed=CROSS_COMPILE CROSS_COMPILE = None cargo:warning=GNU compiler is not supported for this target cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc CFLAGS_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc CFLAGS_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_CFLAGS TARGET_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc CC_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc CC_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_CC TARGET_CC = None cargo:rerun-if-env-changed=CC CC = None RUSTC_LINKER = Some("lld") cargo:rerun-if-env-changed=CROSS_COMPILE CROSS_COMPILE = None cargo:warning=GNU compiler is not supported for this target cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc CFLAGS_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc CFLAGS_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_CFLAGS TARGET_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc CC_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc CC_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_CC TARGET_CC = None cargo:rerun-if-env-changed=CC CC = None RUSTC_LINKER = Some("lld") cargo:rerun-if-env-changed=CROSS_COMPILE CROSS_COMPILE = None cargo:warning=GNU compiler is not supported for this target cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc CFLAGS_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc CFLAGS_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_CFLAGS TARGET_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/debug.o" "-c" "zstd/lib/common/debug.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/entropy_common.o" "-c" "zstd/lib/common/entropy_common.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/error_private.o" "-c" "zstd/lib/common/error_private.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/fse_decompress.o" "-c" "zstd/lib/common/fse_decompress.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/pool.o" "-c" "zstd/lib/common/pool.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/threading.o" "-c" "zstd/lib/common/threading.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/zstd_common.o" "-c" "zstd/lib/common/zstd_common.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/fse_compress.o" "-c" "zstd/lib/compress/fse_compress.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/hist.o" "-c" "zstd/lib/compress/hist.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/huf_compress.o" "-c" "zstd/lib/compress/huf_compress.c" cargo:warning=GNU compiler is not supported for this target exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress.o" "-c" "zstd/lib/compress/zstd_compress.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress_literals.o" "-c" "zstd/lib/compress/zstd_compress_literals.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress_sequences.o" "-c" "zstd/lib/compress/zstd_compress_sequences.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress_superblock.o" "-c" "zstd/lib/compress/zstd_compress_superblock.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_double_fast.o" "-c" "zstd/lib/compress/zstd_double_fast.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_fast.o" "-c" "zstd/lib/compress/zstd_fast.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_lazy.o" "-c" "zstd/lib/compress/zstd_lazy.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_ldm.o" "-c" "zstd/lib/compress/zstd_ldm.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_opt.o" "-c" "zstd/lib/compress/zstd_opt.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstdmt_compress.o" "-c" "zstd/lib/compress/zstdmt_compress.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/huf_decompress.o" "-c" "zstd/lib/decompress/huf_decompress.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/zstd_ddict.o" "-c" "zstd/lib/decompress/zstd_ddict.c" exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/zstd_decompress.o" "-c" "zstd/lib/decompress/zstd_decompress.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/zstd_decompress_block.o" "-c" "zstd/lib/decompress/zstd_decompress_block.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/cover.o" "-c" "zstd/lib/dictBuilder/cover.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/divsufsort.o" "-c" "zstd/lib/dictBuilder/divsufsort.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/fastcover.o" "-c" "zstd/lib/dictBuilder/fastcover.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/zdict.o" "-c" "zstd/lib/dictBuilder/zdict.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v01.o" "-c" "zstd/lib/legacy/zstd_v01.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v02.o" "-c" "zstd/lib/legacy/zstd_v02.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v03.o" "-c" "zstd/lib/legacy/zstd_v03.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v04.o" "-c" "zstd/lib/legacy/zstd_v04.c" cargo:warning=GNU compiler is not supported for this target exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v05.o" "-c" "zstd/lib/legacy/zstd_v05.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v06.o" "-c" "zstd/lib/legacy/zstd_v06.c" cargo:warning=GNU compiler is not supported for this target running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v07.o" "-c" "zstd/lib/legacy/zstd_v07.c" exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 exit status: 0 cargo:rerun-if-env-changed=AR_x86_64-pc-windows-msvc AR_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=AR_x86_64_pc_windows_msvc AR_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_AR TARGET_AR = None cargo:rerun-if-env-changed=AR AR = None cargo:warning=GNU compiler is not supported for this target cargo:rerun-if-env-changed=ARFLAGS_x86_64-pc-windows-msvc ARFLAGS_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=ARFLAGS_x86_64_pc_windows_msvc ARFLAGS_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=TARGET_ARFLAGS TARGET_ARFLAGS = None cargo:rerun-if-env-changed=ARFLAGS ARFLAGS = None running: "lib.exe" "-out:/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/libzstd.a" "-nologo" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/debug.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/entropy_common.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/error_private.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/fse_decompress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/pool.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/threading.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/zstd_common.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/fse_compress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/hist.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/huf_compress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress_literals.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress_sequences.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress_superblock.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_double_fast.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_fast.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_lazy.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_ldm.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_opt.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstdmt_compress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/huf_decompress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/zstd_ddict.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/zstd_decompress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/zstd_decompress_block.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/cover.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/divsufsort.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/fastcover.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/zdict.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v01.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v02.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v03.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v04.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v05.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v06.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v07.o" cargo:warning=/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/debug.o: not a COFF object, bitcode, archive, import library or resource file exit status: 1 --- stderr error occurred: Command "lib.exe" "-out:/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/libzstd.a" "-nologo" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/debug.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/entropy_common.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/error_private.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/fse_decompress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/pool.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/threading.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/common/zstd_common.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/fse_compress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/hist.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/huf_compress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress_literals.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress_sequences.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_compress_superblock.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_double_fast.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_fast.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_lazy.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_ldm.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstd_opt.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/compress/zstdmt_compress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/huf_decompress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/zstd_ddict.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/zstd_decompress.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/decompress/zstd_decompress_block.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/cover.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/divsufsort.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/fastcover.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/dictBuilder/zdict.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v01.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v02.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v03.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v04.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v05.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v06.o" "/Users/pavel.smirnov/Source/temp/zstd_test/target/x86_64-pc-windows-msvc/debug/build/zstd-sys-9ff568d58412d648/out/zstd/lib/legacy/zstd_v07.o" with args "lib.exe" did not execute successfully (status code exit status: 1).
Everything okay when compiling bare project with cargo xwin build --target x86_64-pc-windows-msvc
, so maybe it will help you.
Sadly, it's gives me other error with tauri@v2 and i don't think it's related to zstd :(
Running beforeBuildCommand `npm run build` > vite-project@0.0.0 build > tsc && vite build vite v4.4.9 building for production... transforming... ✓ 34 modules transformed. rendering chunks... computing gzip size... dist/index.html 0.46 kB │ gzip: 0.30 kB dist/assets/react-35ef61ed.svg 4.13 kB │ gzip: 2.14 kB dist/assets/index-d526a0c5.css 1.42 kB │ gzip: 0.74 kB dist/assets/index-889552fa.js 143.40 kB │ gzip: 46.11 kB ✓ built in 404ms Compiling webview2-com v0.25.0 Compiling tauri-utils v2.0.0-alpha.7 Compiling app v0.1.0 (/Users/pavel.smirnov/Source/temp/tauri-test/src-tauri) The following warnings were emitted during compilation: warning: clang-16: warning: unknown argument ignored in clang-cl: '-xc' [-Wunknown-argument] warning: clang-16: warning: '/Users/pavel.smirnov/Source/temp/tauri-test/src-tauri/target/x86_64-pc-windows-msvc/release/build/app-e61b52deb7e6ce70/out/resource.rc' treated as the '/U' option [-Wslash-u-filename] warning: clang-16: note: use '--' to treat subsequent arguments as filenames warning: clang-16: error: no input files error: failed to run custom build command for `app v0.1.0 (/Users/pavel.smirnov/Source/temp/tauri-test/src-tauri)` Caused by: process didn't exit successfully: `/Users/pavel.smirnov/Source/temp/tauri-test/src-tauri/target/release/build/app-f21930010892a0fa/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-env-changed=TAURI_CONFIG cargo:rerun-if-changed=tauri.conf.json cargo:rustc-cfg=desktop cargo:rustc-env=TAURI_ANDROID_PACKAGE_PREFIX=test cargo:rustc-env=TAURI_TARGET_TRIPLE=x86_64-pc-windows-msvc package.metadata does not exist running: "clang-cl" "-nologo" "-MD" "-O2" "-Brepro" "-m64" "--target=x86_64-pc-windows-msvc" "-Wno-unused-command-line-argument" "-fuse-ld=lld-link" "/imsvc/Users/pavel.smirnov/Library/Caches/cargo-xwin/xwin/crt/include" "/imsvc/Users/pavel.smirnov/Library/Caches/cargo-xwin/xwin/sdk/include/ucrt" "/imsvc/Users/pavel.smirnov/Library/Caches/cargo-xwin/xwin/sdk/include/um" "/imsvc/Users/pavel.smirnov/Library/Caches/cargo-xwin/xwin/sdk/include/shared" "-I" "/Users/pavel.smirnov/Source/temp/tauri-test/src-tauri/target/x86_64-pc-windows-msvc/release/build/app-e61b52deb7e6ce70/out" "-xc" "-DRC_INVOKED" "-E" "/Users/pavel.smirnov/Source/temp/tauri-test/src-tauri/target/x86_64-pc-windows-msvc/release/build/app-e61b52deb7e6ce70/out/resource.rc" cargo:warning=clang-16: warning: unknown argument ignored in clang-cl: '-xc' [-Wunknown-argument] cargo:warning=clang-16: warning: '/Users/pavel.smirnov/Source/temp/tauri-test/src-tauri/target/x86_64-pc-windows-msvc/release/build/app-e61b52deb7e6ce70/out/resource.rc' treated as the '/U' option [-Wslash-u-filename] cargo:warning=clang-16: note: use '--' to treat subsequent arguments as filenames cargo:warning=clang-16: error: no input files exit status: 1 --- stderr error occurred: Command "clang-cl" "-nologo" "-MD" "-O2" "-Brepro" "-m64" "--target=x86_64-pc-windows-msvc" "-Wno-unused-command-line-argument" "-fuse-ld=lld-link" "/imsvc/Users/pavel.smirnov/Library/Caches/cargo-xwin/xwin/crt/include" "/imsvc/Users/pavel.smirnov/Library/Caches/cargo-xwin/xwin/sdk/include/ucrt" "/imsvc/Users/pavel.smirnov/Library/Caches/cargo-xwin/xwin/sdk/include/um" "/imsvc/Users/pavel.smirnov/Library/Caches/cargo-xwin/xwin/sdk/include/shared" "-I" "/Users/pavel.smirnov/Source/temp/tauri-test/src-tauri/target/x86_64-pc-windows-msvc/release/build/app-e61b52deb7e6ce70/out" "-xc" "-DRC_INVOKED" "-E" "/Users/pavel.smirnov/Source/temp/tauri-test/src-tauri/target/x86_64-pc-windows-msvc/release/build/app-e61b52deb7e6ce70/out/resource.rc" with args "clang-cl" did not execute successfully (status code exit status: 1). warning: build failed, waiting for other jobs to finish... Error failed to build app: failed to build app
Note that to cross-compile for the msvc platform, you will need cross-compiling tool, such as the mentioned lib.exe
.
You may be interested in https://github.com/rust-cross/cargo-xwin, which simplifies cross-compiling to the windows platform. I just tested it on this repository from both a x86_64 linux computer and a macOS M1 laptop, and it works in both cases.
hi guys, I'm new to cross compiling After my attempts, if the parameter with the target of x86_64-pc-windows-gnu is used, it can be compiled. But I can't cross compile to msvc version. This is the error given after compiling:
~/.cargo/config.toml
[target.x86_64-pc-windows-msvc] linker = "lld" rustflags = [ "-Lnative=/code/.xwin/crt/lib/x86_64", "-Lnative=/code/.xwin/sdk/lib/um/x86_64", "-Lnative=/code/.xwin/sdk/lib/ucrt/x86_64" ]