Skip to content

Conversation

@Electroid
Copy link
Contributor

What does this PR do?

  • Documentation or TypeScript types (it's okay to leave the rest blank in this case)
  • Code changes

How did you verify your code works?

@robobun
Copy link
Collaborator

robobun commented May 6, 2025

Updated 6:18 PM PT - May 5th, 2025

@Electroid, your commit c62e4e224f24a7714e5ad1ce9e99e9c6830f03d5 passed in Build #16133! 🎉


🧪   To try this PR locally:

bunx bun-pr 19487

That installs a local version of the PR into your bun-19487 executable, so you can run:

bun-19487 --bun

@Jarred-Sumner Jarred-Sumner merged commit c130d1b into main May 6, 2025
58 of 61 checks passed
@Jarred-Sumner Jarred-Sumner deleted the ci-zig-ec2 branch May 6, 2025 01:05
Comment on lines +58 to +64
if(CI AND CMAKE_HOST_APPLE)
set(ZIG_COMPILER_SAFE_DEFAULT ON)
else()
set(ZIG_COMPILER_SAFE_DEFAULT OFF)
endif()

optionx(ZIG_COMPILER_SAFE BOOL "Download a ReleaseSafe build of the Zig compiler. Only availble on macos aarch64." DEFAULT ${ZIG_COMPILER_SAFE_DEFAULT})
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice to get ReleaseSafe zig builds for linux x64 (it seems like we tried to here but something went wrong?). There is at least one bug in the compiler (ziglang/zig#21463) that can make it emit broken code and only crash if the compiler is built in safe mode. ReleaseSafe means we get a deterministic crash when the Zig compiler reaches undefined behavior instead of hoping that it either crashes or happens to produce the right code.

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.

5 participants