chenlvzhou
chenlvzhou
```rust cc::Build::new() .cpp(true) .warnings(true) .flag("-Wall") .flag("-std=c++14") .flag("-c") .files(["cpp_src/sorting.cpp", "cpp_src/print.cpp"]) .compile("sorting"); ``` ``` error: linking with `cc` failed: exit status: 1 | = note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/mac/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/bin:/Users/mac/.cargo/bin:/Users/mac/software/anaconda3/condabin:/Users/mac/software/apache-maven/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/go/bin"...
### Describe the bug tauri.config.json "nsis": { "installMode": "currentUser", "installerIcon":"icons/icon.ico" }, Creating shortcut failed in Win7 ,Causing the installation program to crash directly ### Reproduction _No response_ ### Expected behavior...