Skip to content

fix: BSD support in tauri-runtime - #14700

Merged
FabianLars merged 2 commits into
tauri-apps:devfrom
mewi99:fix_bsd
Dec 29, 2025
Merged

fix: BSD support in tauri-runtime#14700
FabianLars merged 2 commits into
tauri-apps:devfrom
mewi99:fix_bsd

Conversation

@mewi99

@mewi99 mewi99 commented Dec 26, 2025

Copy link
Copy Markdown
Contributor

Hello. The most important change in this PR is the addition of the *bsd configuration options to the cfg attribute on top of Runtime's new_any_thread() method signature.
This ensures that implementing Runtime for Wry in tauri-runtime-wry doesn't cause a function not a member of trait Runtime error.

I also added the same options to places where, due to the practical similarities with Linux, it makes sense to have them and not treat the BSDs like they are entirely different platforms.

This does not mean full Tauri support on the BSDs, but after these changes and a few patches to a couple of dependecies, I was able to run the helloworld example successfully on FreeBSD, and I was able to compile another project that uses Tauri.

@mewi99
mewi99 requested a review from a team as a code owner December 26, 2025 22:10
@github-actions

github-actions Bot commented Dec 27, 2025

Copy link
Copy Markdown
Contributor

Package Changes Through e3ac518

There are 7 changes which include tauri-utils with patch, tauri-build with patch, tauri-cli with patch, @tauri-apps/cli with patch, tauri-runtime-wry with patch, tauri-runtime with patch, tauri 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-utils 2.8.1 2.8.2
tauri-bundler 2.7.5 2.7.6
tauri-runtime 2.9.2 2.9.3
tauri-runtime-wry 2.9.3 2.9.4
tauri-codegen 2.5.2 2.5.3
tauri-macros 2.5.2 2.5.3
tauri-plugin 2.5.2 2.5.3
tauri-build 2.5.3 2.5.4
tauri 2.9.5 2.9.6
@tauri-apps/cli 2.9.6 2.9.7
tauri-cli 2.9.6 2.9.7

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


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

@meow2149

Copy link
Copy Markdown

Hello. The most important change in this PR is the addition of the *bsd configuration options to the cfg attribute on top of Runtime's new_any_thread() method signature. This ensures that implementing Runtime for Wry in tauri-runtime-wry doesn't cause a function not a member of trait Runtime error.

I also added the same options to places where, due to the practical similarities with Linux, it makes sense to have them and not treat the BSDs like they are entirely different platforms.

This does not mean full Tauri support on the BSDs, but after these changes and a few patches to a couple of dependecies, I was able to run the helloworld example successfully on FreeBSD, and I was able to compile another project that uses Tauri.

I really enjoyed reading this PR — the BSD changes and your explanations were thoughtful, clear, and honestly a pleasure to go through.

It made me curious about the person behind the code, so I wanted to say hi 🙂
If you’re open to it, I’d like to follow each other on GitHub and stay in touch. I have a feeling I’d enjoy seeing more of what you work on.

@FabianLars FabianLars left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the pr :)

@FabianLars
FabianLars merged commit 9b242e4 into tauri-apps:dev Dec 29, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants