Skip to content

[bug] Build with x86_64-pc-windows-gnu #4319

Description

@ZodiacWind

Describe the bug

As my app denpends on some gnu library, I have to use gnu toolchain to build the app. I found two bugs during the process:

  1. The app built with gnu toolchain in size is much larger than the one built with msvc toolchain, 58.8MB vs 18.5MB;
  2. The app built with gnu toolchain cannot work due to WebView2Loader.dll not found error,and as a workround, I have to copy the dll from the crate to the app side;
  3. The app doesn't have a logo, while the msvc one has.

Could anyone help? Or what's the future plan about tauri with gnu toolchain on windows?

Thanks.

Reproduction

No response

Expected behavior

No response

Platform and versions

Environment
  › OS: Windows 10.0.25131 X64
  › Webview2: 101.0.1210.53
  › MSVC:
      - Visual Studio Enterprise 2022
  › Node.js: 16.14.2
  › npm: 8.5.0
  › pnpm: Not installed!
  › yarn: 1.22.17
  › rustup: 1.24.3
  › rustc: 1.61.0
  › cargo: 1.61.0
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.13
  › @tauri-apps/api [NPM]: 1.0.0-rc.5
  › tauri [RUST]: 1.0.0-rc.14,
  › tauri-build [RUST]: 1.0.0-rc.12,
  › tao [RUST]: 0.9.1,
  › wry [RUST]: 0.17.0,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../build
  › devPath: http://localhost:3000/
  › framework: Svelte
  › bundler: Rollup

Stack trace

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions