Skip to content

fix(deps): disable default-features in objc2 crates - #14967

Merged
FabianLars merged 1 commit into
tauri-apps:devfrom
montyc1999:objc2-web-kit-default-features
Feb 18, 2026
Merged

fix(deps): disable default-features in objc2 crates#14967
FabianLars merged 1 commit into
tauri-apps:devfrom
montyc1999:objc2-web-kit-default-features

Conversation

@montyc1999

Copy link
Copy Markdown
Contributor

We are mistakenly using default features in the crates: objc2-foundation, objc2-app-kit, and objc2-web-kit.

Also, tauri-runtime-wry doesn't need to depend on objc2-foundation at all: objc2_foundation::MainThreadMarker is deprecated and was moved to objc2::MainThreadMarker.

Here's the before/after result of CARGO_PROFILE_RELEASE_LTO=fat cargo llvm-lines -p tauri --example helloworld --release:

Before:

  Lines                  Copies                Function name
  -----                  ------                -------------
  2427243                107287                (TOTAL)

After:

  Lines                  Copies               Function name
  -----                  ------               -------------
  2234525                93674                (TOTAL)

@montyc1999
montyc1999 marked this pull request as ready for review February 18, 2026 16:44
@montyc1999
montyc1999 requested a review from a team as a code owner February 18, 2026 16:44
@FabianLars

Copy link
Copy Markdown
Member

good catch, thanks!

@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through e544061

There are 3 changes which include tauri-cli with patch, @tauri-apps/cli with patch, tauri-bundler 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-bundler 2.8.0 2.8.1
@tauri-apps/cli 2.10.0 2.10.1
tauri-cli 2.10.0 2.10.1

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
FabianLars merged commit 88c0568 into tauri-apps:dev Feb 18, 2026
18 checks passed
akuligowski9 pushed a commit to akuligowski9/tauri that referenced this pull request Feb 20, 2026
chippers pushed a commit to chippers/tauri that referenced this pull request Mar 3, 2026
razein97 pushed a commit to razein97/tauri that referenced this pull request Apr 30, 2026
razein97 pushed a commit to razein97/tauri that referenced this pull request Apr 30, 2026
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.

2 participants