Skip to content

Conversation

mhegazy
Copy link
Contributor

@mhegazy mhegazy commented Aug 22, 2025

I broke this in my previous PR. Build-mimalloc does two things, it builds mimalloc, and patches binaries. since we have two toolchains now we need to make sure both happen for both assert and noassert toolchain outputs when building with -IncludeNoAsserts.

In this change:

  • Split Build-mimalloc into two functions
  • move the call to the new Patch-mimalloc after the noasserts toolchain was built to enable successful patching.

@mhegazy mhegazy requested a review from compnerd as a code owner August 22, 2025 02:12
@compnerd
Copy link
Member

@swift-ci please smoke test

@mhegazy mhegazy force-pushed the mimalloc-patch-fix branch from 167b415 to effe6d6 Compare August 22, 2025 02:20
@compnerd
Copy link
Member

@swift-ci please smoke test

@compnerd
Copy link
Member

@swift-ci please smoke test Linux platform

@compnerd
Copy link
Member

@swift-ci please test Windows platform

1 similar comment
@compnerd
Copy link
Member

@swift-ci please test Windows platform

@compnerd compnerd added Windows Platform: Windows build-script Area → utils: The build script labels Aug 22, 2025
@compnerd
Copy link
Member

@swift-ci please test Windows platform

1 similar comment
@compnerd
Copy link
Member

@swift-ci please test Windows platform

@compnerd compnerd enabled auto-merge August 25, 2025 15:29
@compnerd
Copy link
Member

@swift-ci please test Windows platform

@compnerd compnerd merged commit 16b71df into swiftlang:main Aug 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-script Area → utils: The build script Windows Platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants