我的程式筆記
2025-03-31
2025-03-26
2025-03-19
Vue.js:ref 對象更動後,要如何在 DOM 的變更結束後,執行 function
我這邊有段 vue code:
<script setup lang="ts">
interface CartItem {
id: any;
itemID: any;
name: string;
price: number;
count: number;
}
let cartItem = ref<CartItem[]>([])
</script>
<template>
<aside>
<div class="cart-item" v-for="(item) in cartItem">
<span v-text="item.name"/>
<span v-text="'$' + item.price"/>
<input type="number" v-model="item.count" />
</div>
</aside>
</template>
這段 code,每次 cartItem 新增一個項目後,就會自動建立一組
<div class="cart-item" />
;反之,每刪除一個項目,就會刪掉一個<div class="cart-item" />
。
我現在要的,是每新增或刪除完一個項目後,自動執行一段 function。
例如新增完畢後,自動 focus 到最新的 input 中。
2025-02-27
Vue.js 的 ref 出現 null 錯誤
最近在寫 Vue.js 專案
使用 npm run build
(或是
npx vite build
)編譯成 production 程式後,執行會出錯
以下是我的程式碼:
<script setup lang="ts">
let myDialog = ref<HTMLDialogElement>(null)
</script>
<template>
<button @click="myDialog.showModal()">my btn</button>
<dialog ref="myDialog"></dialog>
</template>
點下按鈕後,會出現以下兩種錯誤:
TypeError: Cannot read properties of undefined (reading 'refs')
TypeError: Cannot read properties of null (reading 'showModal')
2025-02-10
Tauri 開發的幾個坑
這是我在編譯 Tauri 專案時,出現的 Error log
Tauri Error Log
D:\workspace\my-tauri-project> npm run tauri build
> webdesign-calauator@0.1.0 tauri
> tauri build
warning: only one of `license` or `license-file` is necessary
`license` should be used if the package license can be expressed with a standard SPDX expression.
`license-file` should be used if the package uses a non-standard license.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
Compiling serde_derive v1.0.217
Compiling zerocopy-derive v0.7.35
Compiling zerovec-derive v0.10.3
Compiling displaydoc v0.2.5
Compiling icu_provider_macros v1.5.0
Compiling zerofrom-derive v0.1.5
Compiling yoke-derive v0.7.5
Compiling thiserror-impl v1.0.69
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-Wl,%TEMP%\\rustc17OrG3\\list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "%TEMP%\\rustc17OrG3\\symbols.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\icu_provider_macros-fe6952c3b5596741.icu_provider_macros.6f1cacb25bcda666-cgu.0.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\icu_provider_macros-fe6952c3b5596741.icu_provider_macros.6f1cacb25bcda666-cgu.1.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\icu_provider_macros-fe6952c3b5596741.icu_provider_macros.6f1cacb25bcda666-cgu.2.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\icu_provider_macros-fe6952c3b5596741.8bg2xrvl7wropgeaqcqzd1zrm.rcgu.rmeta" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\icu_provider_macros-fe6952c3b5596741.aheisbr6pr0grjwxy6taef826.rcgu.o" "-Wl,-Bstatic" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsyn-74fbf48bac4e0a04.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libquote-17a985357649caed.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libproc_macro2-eabbd311f3d536d8.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libunicode_ident-b370657983c81284.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libproc_macro-27a1d4eb681427e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-5066810ba6a3c331.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-ffe1b3cf1e858a91.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-4bb2bf6b8aedb0e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b3db5392c89f893a.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-20a9bc570f589ab2.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-e4c6854cb2570d1b.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libwindows_targets-176ce559adcaeeab.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f41139342d761cc4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-a9c8a66a6ab04d67.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d0a5c38fcf7e3ab4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-34bf8e2ba505f823.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-e6c3bcb6aba3cc78.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-25fd04130c61c486.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-406d0684cd466981.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-308de7222dbe7630.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-b17ad35300ef919c.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-16133477ba5b1335.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-c9c952e3e4dff3e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-225aecd5787b5a6d.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-15f2e04ecb4aa720.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-ladvapi32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\icu_provider_macros-fe6952c3b5596741.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libicu_provider_macros-fe6952c3b5596741.dll.a" "-Wl,--strip-debug" "-nodefaultlibs" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: lld: error: unable to find library -lgcc_eh␍
lld: error: unable to find library -lgcc␍
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)␍
error: could not compile `icu_provider_macros` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-Wl,%TEMP%\\rustcYX8dip\\list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "%TEMP%\\rustcYX8dip\\symbols.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.displaydoc.520219c0103c2711-cgu.0.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.displaydoc.520219c0103c2711-cgu.1.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.displaydoc.520219c0103c2711-cgu.2.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.displaydoc.520219c0103c2711-cgu.3.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.displaydoc.520219c0103c2711-cgu.4.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.displaydoc.520219c0103c2711-cgu.5.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.displaydoc.520219c0103c2711-cgu.6.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.displaydoc.520219c0103c2711-cgu.7.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.c217kmq3im5t9miyok2neyyip.rcgu.rmeta" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.3rad1gp78wtzo4ld2tgmt0bqe.rcgu.o" "-Wl,-Bstatic" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsyn-74fbf48bac4e0a04.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libquote-17a985357649caed.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libproc_macro2-eabbd311f3d536d8.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libunicode_ident-b370657983c81284.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libproc_macro-27a1d4eb681427e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-5066810ba6a3c331.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-ffe1b3cf1e858a91.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-4bb2bf6b8aedb0e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b3db5392c89f893a.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-20a9bc570f589ab2.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-e4c6854cb2570d1b.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libwindows_targets-176ce559adcaeeab.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f41139342d761cc4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-a9c8a66a6ab04d67.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d0a5c38fcf7e3ab4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-34bf8e2ba505f823.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-e6c3bcb6aba3cc78.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-25fd04130c61c486.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-406d0684cd466981.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-308de7222dbe7630.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-b17ad35300ef919c.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-16133477ba5b1335.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-c9c952e3e4dff3e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-225aecd5787b5a6d.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-15f2e04ecb4aa720.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-ladvapi32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\displaydoc-f0f930a41d11db73.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libdisplaydoc-f0f930a41d11db73.dll.a" "-Wl,--strip-debug" "-nodefaultlibs" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: lld: error: unable to find library -lgcc_eh␍
lld: error: unable to find library -lgcc␍
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)␍
error: could not compile `displaydoc` (lib) due to 1 previous error
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-Wl,%TEMP%\\rustcXnvsAN\\list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "%TEMP%\\rustcXnvsAN\\symbols.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.00.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.01.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.02.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.03.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.04.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.05.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.06.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.07.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.08.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.zerocopy_derive.efa5943a1788382e-cgu.09.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.dci6dext68o7o2y39r9vmr2qf.rcgu.rmeta" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.dgmajx7vvskyihocd3tbvvbh0.rcgu.o" "-Wl,-Bstatic" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsyn-74fbf48bac4e0a04.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libquote-17a985357649caed.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libproc_macro2-eabbd311f3d536d8.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libunicode_ident-b370657983c81284.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libproc_macro-27a1d4eb681427e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-5066810ba6a3c331.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-ffe1b3cf1e858a91.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-4bb2bf6b8aedb0e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b3db5392c89f893a.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-20a9bc570f589ab2.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-e4c6854cb2570d1b.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libwindows_targets-176ce559adcaeeab.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f41139342d761cc4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-a9c8a66a6ab04d67.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d0a5c38fcf7e3ab4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-34bf8e2ba505f823.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-e6c3bcb6aba3cc78.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-25fd04130c61c486.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-406d0684cd466981.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-308de7222dbe7630.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-b17ad35300ef919c.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-16133477ba5b1335.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-c9c952e3e4dff3e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-225aecd5787b5a6d.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-15f2e04ecb4aa720.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-ladvapi32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerocopy_derive-c170d39d3851dfe0.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libzerocopy_derive-c170d39d3851dfe0.dll.a" "-Wl,--strip-debug" "-nodefaultlibs" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: lld: error: unable to find library -lgcc_eh␍
lld: error: unable to find library -lgcc␍
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)␍
error: could not compile `zerocopy-derive` (lib) due to 1 previous error
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-Wl,%TEMP%\\rustcRcikdX\\list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "%TEMP%\\rustcRcikdX\\symbols.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.00.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.01.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.02.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.03.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.04.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.05.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.06.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.07.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.08.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.09.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.10.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.yoke_derive.9b27c8a9612284a-cgu.11.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.f0vnnoiirjn70kw76dub4qdl1.rcgu.rmeta" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.a2va8dkl1727nfenozbk5e9xa.rcgu.o" "-Wl,-Bstatic" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsynstructure-cac82b296e42ff95.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsyn-74fbf48bac4e0a04.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libquote-17a985357649caed.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libproc_macro2-eabbd311f3d536d8.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libunicode_ident-b370657983c81284.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libproc_macro-27a1d4eb681427e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-5066810ba6a3c331.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-ffe1b3cf1e858a91.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-4bb2bf6b8aedb0e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b3db5392c89f893a.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-20a9bc570f589ab2.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-e4c6854cb2570d1b.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libwindows_targets-176ce559adcaeeab.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f41139342d761cc4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-a9c8a66a6ab04d67.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d0a5c38fcf7e3ab4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-34bf8e2ba505f823.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-e6c3bcb6aba3cc78.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-25fd04130c61c486.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-406d0684cd466981.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-308de7222dbe7630.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-b17ad35300ef919c.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-16133477ba5b1335.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-c9c952e3e4dff3e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-225aecd5787b5a6d.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-15f2e04ecb4aa720.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-ladvapi32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\yoke_derive-dafe9661357651ef.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libyoke_derive-dafe9661357651ef.dll.a" "-Wl,--strip-debug" "-nodefaultlibs" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: lld: error: unable to find library -lgcc_eh␍
lld: error: unable to find library -lgcc␍
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)␍
error: could not compile `yoke-derive` (lib) due to 1 previous error
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-Wl,%TEMP%\\rustciim5aw\\list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "%TEMP%\\rustciim5aw\\symbols.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.00.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.01.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.02.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.03.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.04.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.05.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.06.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.07.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.08.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.zerovec_derive.db7081da6fa933f3-cgu.09.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.5dt2eis36netsmxd2itvpshqd.rcgu.rmeta" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.2pb99ydxzfuu8djtibrlbndby.rcgu.o" "-Wl,-Bstatic" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsyn-74fbf48bac4e0a04.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libquote-17a985357649caed.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libproc_macro2-eabbd311f3d536d8.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libunicode_ident-b370657983c81284.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libproc_macro-27a1d4eb681427e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-5066810ba6a3c331.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-ffe1b3cf1e858a91.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-4bb2bf6b8aedb0e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b3db5392c89f893a.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-20a9bc570f589ab2.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-e4c6854cb2570d1b.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libwindows_targets-176ce559adcaeeab.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f41139342d761cc4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-a9c8a66a6ab04d67.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d0a5c38fcf7e3ab4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-34bf8e2ba505f823.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-e6c3bcb6aba3cc78.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-25fd04130c61c486.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-406d0684cd466981.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-308de7222dbe7630.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-b17ad35300ef919c.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-16133477ba5b1335.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-c9c952e3e4dff3e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-225aecd5787b5a6d.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-15f2e04ecb4aa720.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-ladvapi32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerovec_derive-3cb3d83b88e2aaf8.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libzerovec_derive-3cb3d83b88e2aaf8.dll.a" "-Wl,--strip-debug" "-nodefaultlibs" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: lld: error: unable to find library -lgcc_eh␍
lld: error: unable to find library -lgcc␍
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)␍
error: could not compile `zerovec-derive` (lib) due to 1 previous error
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-Wl,%TEMP%\\rustcHLqE4I\\list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "%TEMP%\\rustcHLqE4I\\symbols.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.00.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.01.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.02.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.03.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.04.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.05.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.06.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.07.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.08.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.09.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.10.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.11.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.zerofrom_derive.417fd71693728bfb-cgu.12.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.dxgeuyfujltr2yzk48eqvh6sq.rcgu.rmeta" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.287sg3064bx3oqyw1802tt7g9.rcgu.o" "-Wl,-Bstatic" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsynstructure-cac82b296e42ff95.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsyn-74fbf48bac4e0a04.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libquote-17a985357649caed.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libproc_macro2-eabbd311f3d536d8.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libunicode_ident-b370657983c81284.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libproc_macro-27a1d4eb681427e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-5066810ba6a3c331.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-ffe1b3cf1e858a91.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-4bb2bf6b8aedb0e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b3db5392c89f893a.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-20a9bc570f589ab2.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-e4c6854cb2570d1b.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libwindows_targets-176ce559adcaeeab.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f41139342d761cc4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-a9c8a66a6ab04d67.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d0a5c38fcf7e3ab4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-34bf8e2ba505f823.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-e6c3bcb6aba3cc78.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-25fd04130c61c486.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-406d0684cd466981.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-308de7222dbe7630.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-b17ad35300ef919c.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-16133477ba5b1335.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-c9c952e3e4dff3e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-225aecd5787b5a6d.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-15f2e04ecb4aa720.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-ladvapi32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\zerofrom_derive-a418cd7dc15ea643.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libzerofrom_derive-a418cd7dc15ea643.dll.a" "-Wl,--strip-debug" "-nodefaultlibs" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: lld: error: unable to find library -lgcc_eh␍
lld: error: unable to find library -lgcc␍
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)␍
error: could not compile `zerofrom-derive` (lib) due to 1 previous error
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-Wl,%TEMP%\\rustcTxxWWu\\list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "%TEMP%\\rustcTxxWWu\\symbols.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.00.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.01.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.02.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.03.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.04.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.05.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.06.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.07.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.08.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.09.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.10.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.11.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.12.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.13.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.14.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.thiserror_impl.ec097fb5ffd29455-cgu.15.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.7pcxca8u5hzqa0kf3i6inljkf.rcgu.rmeta" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.bxzvjbsctmqn4k8nezcn6h7jt.rcgu.o" "-Wl,-Bstatic" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsyn-74fbf48bac4e0a04.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libquote-17a985357649caed.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libproc_macro2-eabbd311f3d536d8.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libunicode_ident-b370657983c81284.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libproc_macro-27a1d4eb681427e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-5066810ba6a3c331.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-ffe1b3cf1e858a91.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-4bb2bf6b8aedb0e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b3db5392c89f893a.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-20a9bc570f589ab2.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-e4c6854cb2570d1b.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libwindows_targets-176ce559adcaeeab.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f41139342d761cc4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-a9c8a66a6ab04d67.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d0a5c38fcf7e3ab4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-34bf8e2ba505f823.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-e6c3bcb6aba3cc78.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-25fd04130c61c486.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-406d0684cd466981.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-308de7222dbe7630.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-b17ad35300ef919c.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-16133477ba5b1335.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-c9c952e3e4dff3e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-225aecd5787b5a6d.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-15f2e04ecb4aa720.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-ladvapi32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\thiserror_impl-aff30b8e4c4db49a.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libthiserror_impl-aff30b8e4c4db49a.dll.a" "-Wl,--strip-debug" "-nodefaultlibs" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: lld: error: unable to find library -lgcc_eh␍
lld: error: unable to find library -lgcc␍
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)␍
error: could not compile `thiserror-impl` (lib) due to 1 previous error
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
|
= note: "x86_64-w64-mingw32-gcc" "-Wl,%TEMP%\\rustcJIG1Ve\\list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "%TEMP%\\rustcJIG1Ve\\symbols.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.00.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.01.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.02.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.03.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.04.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.05.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.06.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.07.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.08.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.09.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.10.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.11.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.12.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.13.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.14.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.serde_derive.faf5c44e1cffd270-cgu.15.rcgu.o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.7iekjtsir4vrwsulx31sr7lvt.rcgu.rmeta" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.ds0bcls9h3xq1y5h5qa7u1im7.rcgu.o" "-Wl,-Bstatic" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libsyn-74fbf48bac4e0a04.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libquote-17a985357649caed.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libproc_macro2-eabbd311f3d536d8.rlib" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libunicode_ident-b370657983c81284.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libproc_macro-27a1d4eb681427e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-5066810ba6a3c331.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-ffe1b3cf1e858a91.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-4bb2bf6b8aedb0e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b3db5392c89f893a.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-20a9bc570f589ab2.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-e4c6854cb2570d1b.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libwindows_targets-176ce559adcaeeab.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f41139342d761cc4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-a9c8a66a6ab04d67.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-d0a5c38fcf7e3ab4.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-34bf8e2ba505f823.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-e6c3bcb6aba3cc78.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-25fd04130c61c486.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-406d0684cd466981.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-308de7222dbe7630.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-b17ad35300ef919c.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-16133477ba5b1335.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-c9c952e3e4dff3e7.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-225aecd5787b5a6d.rlib" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-15f2e04ecb4aa720.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-ladvapi32" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-o" "D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\serde_derive-9fd7d0c35a9acd73.dll" "-Wl,--gc-sections" "-shared" "-Wl,--out-implib=D:\\workspace\\my-tauri-project\\src-tauri\\target\\release\\deps\\libserde_derive-9fd7d0c35a9acd73.dll.a" "-Wl,--strip-debug" "-nodefaultlibs" "%USERPROFILE%\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
= note: lld: error: unable to find library -lgcc_eh␍
lld: error: unable to find library -lgcc␍
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)␍
error: could not compile `serde_derive` (lib) due to 1 previous error
failed to build app: failed to build app
Error failed to build app: failed to build app
但我用 Tauri 官方提供的 Github Action 編譯是成功的,所以當時我也沒有太認真處理這問題。現在有時間去確認才找到問題原因
2024-12-17
📧E-Mail 研究:Outlook 字體的 CSS 設定
最近被 Outlook 弄的一個頭兩個大……( ̄┰ ̄*)
我知道 Outlook 之類的 E-Mail 軟體,對 CSS 、HTML 支援度不高,不過我沒想到 Outlook 光是字體就這麼複雜……
我的電腦有以下字體
字體 | 別名 | 備註 |
---|---|---|
思源黑體 | Source Han Sans TC | 這是從 Adobe那下載下來的,所以 font name 不是 Noto Sans CJK TC 或是 Noto Sans TC |
微軟正黑體 | Microsoft Jheng Hei | Windows 默認字體 |
Arial |
2024-11-27
📝 紀錄一下幾個不同 JDK
這邊記錄一下幾個常見的 JDK(Java Development Kit)與其差異
JDK與其下載頁 | License | 備註 |
---|---|---|
Oracle JDK | 有商用限制。 除此之外,JDK 8、11和之後的版本 License有所不同。 詳細請參見 Oracle 的說明。 | 有 Open JDK 不包含的額外功能。 |
Oracle Open JDK | GPLv2 + CPE | |
BellSoft Liberica JDK | GPLv2 + CPE | Spring 推薦使用 有提供
|
Microsoft JDK | GPLv2 + CPE | |
Eclipse Temurin™ Open JDK | GPLv2 + CPE | |
OpenLogic Open JDK | GPLv2 + CPE | 由 Open Logic 所建置的 JDK 內部已經包含了 JavaFX 相關 libraries 了 |
IBM Semeru Runtime™ | GPLv2 + CPE | 有特別針對性能進行優化 |
RedHat | GPLv2 + CPE | |
SAP Machine | GPLv2 + CPE | 與 Open JDK 的差異可參見官方 wiki |
除了上述的幾種以外,其實還有其他像是毕昇 JDK(華為建的)、Dragonwell JDK (阿里巴巴建的)、Kona JDK(騰訊)……等等的,就不列舉了。
我看了一下,有很多公司會特別建 JDK 就是要用在自家公司的服務之中,例如微軟的 JDK 適合部屬在 Azure 上、Red Hat JDK 會和自家平台整合……等等。
2024-11-04
2024-10-18
📝紀錄:Go 語言一些我常需要用到的資訊
Go 各版本的 Windows 支援程度
參閱官方Wiki:《Go for Microsoft Windows》
安裝多版本的 Go
參閱官方說明:«Download and install»
首先先執行以下指令
go install golang.org/dl/go{你要的版本}@latest
然後再執行
go{你要的版本}} download
列出所有支援操作系統及架構
指令:
go tool dist list
輸出結果
js/wasm
linux/386
linux/amd64
linux/arm
windows/386
windows/amd64
windows/arm
windows/arm64
可以在後面加上-json
以 JSON格式輸出
加上-json
後的輸出結果
[
{
"GOOS": "linux",
"GOARCH": "386",
"CgoSupported": true,
"FirstClass": true
},
{
"GOOS": "linux",
"GOARCH": "amd64",
"CgoSupported": true,
"FirstClass": true
},
{
"GOOS": "linux",
"GOARCH": "arm",
"CgoSupported": true,
"FirstClass": true
},
// 下略……
]
2024-09-11
做 Hibernate envers 設定時遇到的坑
這篇算是延續先前《SpringBoot 使用多個資料庫連線》的狀況
我今天想要使用Hibernate envers來處理資料的版控。
原先我是這樣處理的:
pom.xml 加上library
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-envers</artifactId> </dependency>
application.properties 加上設定
spring.jpa.properties.hibernate.envers.audit_table_suffix=_rev spring.jpa.properties.hibernate.envers.revision_field_name=rev spring.jpa.properties.hibernate.envers.revision_type_field_name=revtype
- Hibernate Entity 加上
@Audit
import javax.persistence.Entity; import javax.persistence.Table; import org.hibernate.envers.Audited; @Entity @Audit @Table(name = "my_entity") class MyEntity{ // 中略 }
然而,實際執行時,Hibernate 處理版控資料時,都想要存入
my_entity_AUD
,即
insert into `my_entity_AUD`
# 下略
2024-09-10
2024-08-28
用 Spring-boot 處理內容安全策略(Content-Security-Policy)的報告時遇到的坑
這邊記錄一下我在 spring-boot 中,處理 CSP 的 CSP report 遇到的坑