tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.48k stars 2.58k forks source link

fix(cli): Statically compile msvc runtime #11769

Open FabianLars opened 3 days ago

FabianLars commented 3 days ago

fixes https://github.com/tauri-apps/tauri/issues/11642 ref https://github.com/swc-project/swc/pull/7965

i only added it for x64 for now but we should monitor x32 (swc removed it for this one again) and aarch64 (swc never added it). x32 is fairly rare as a dev system and aarch64 didn't seem much testing in general (as a dev system) so i'd prefer to wait and see if it's needed.

note that i don't know if any other tooling (rust etc) need the dyn runtime so that's also something to monitor

github-actions[bot] commented 3 days ago

Package Changes Through 4f29795a009e86a2cbdd57dc19ec222de03bb6a3

There are 8 changes which include @tauri-apps/api with minor, tauri-bundler with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with patch

Planned Package Versions The following package releases are the planned based on the context of changes in this pull request. | package | current | next | |----|----|----| | @tauri-apps/api | 2.1.1 | 2.2.0 | tauri-utils | 2.1.0 | 2.1.1 | tauri-bundler | 2.1.0 | 2.2.0 | tauri-runtime | 2.2.0 | 2.3.0 | tauri-runtime-wry | 2.2.0 | 2.3.0 | tauri-codegen | 2.0.3 | 2.0.4 | tauri-macros | 2.0.3 | 2.0.4 | tauri-plugin | 2.0.3 | 2.0.4 | tauri-build | 2.0.3 | 2.0.4 | tauri | 2.1.1 | 2.2.0 | @tauri-apps/cli | 2.1.0 | 2.2.0 | tauri-cli | 2.1.0 | 2.2.0 |

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

FabianLars commented 3 days ago

ngl, not sure if i really like this or if we should just list it as a required system dependency...