Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make EINTR less common #10997

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Make EINTR less common #10997

wants to merge 8 commits into from

Conversation

Jarred-Sumner
Copy link
Collaborator

What does this PR do?

This makes EINTR less likely to occur on macOS by ensuring we only use the $NOCANCEL versions of symbols where possible. This also should very slightly improve start performance since there are ~20 fewer symbols to load

How did you verify your code works?

CI

CMakeLists.txt Outdated
@@ -1121,6 +1121,10 @@ if(APPLE)
target_link_options(${bun} PUBLIC "-dead_strip_dylibs")
target_link_options(${bun} PUBLIC "-Wl,-stack_size,0x1200000")
target_link_options(${bun} PUBLIC "-exported_symbols_list" "${BUN_SRC}/symbols.txt")

# Must be anbled after macOS 14
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Must be anbled after macOS 14
# Must be enabled after macOS 14

@@ -9,7 +9,7 @@ on:
inputs:
runs-on:
type: string
default: macos-12-large
default: macos-13-large
Copy link
Collaborator

Choose a reason for hiding this comment

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

are we dropping MacOS 12 support?

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.

None yet

3 participants