config.toml 497 B

12345678910
  1. [env]
  2. # Skip Playwright automatic browser download during cargo build.
  3. # This prevents the playwright build script from attempting to download Chromium.
  4. PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"
  5. # Optionally set browsers path to empty to avoid bundling.
  6. PLAYWRIGHT_BROWSERS_PATH = "0"
  7. # 静态链接 MSVC 运行库,避免客户机缺少 VCRUNTIME140_1.dll(需配合 OpenSSL MT 静态库,见 build-release.ps1)
  8. [target.x86_64-pc-windows-msvc]
  9. rustflags = ["-C", "target-feature=+crt-static"]