Skip to content

Conversation

@bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Nov 25, 2025

Set the SWIFT_FORCE_STATIC_LINK_STDLIB build setting in SwiftBuild
accordingly to the command line argument and if it's not on Darwin.

In addition, set the SWIFT_RESOURCE_DIR setting as that is what the
Native build system does.

Fixes: #9320
Issue: rdar://163948614
Depends on: #9389
Needs: swiftlang/swift-build#942

Update the SwiftPM's SwiftBuild integration to support enabling
`address`, `thread` and `undefined` sanitizers while erroring out on
the `scudo` and `fuzzer`.

Depends on: swiftlang/swift-build#926
@bkhouri bkhouri force-pushed the t/main/gh9320_rdar163948614_add_swift-static-stdlib_support branch from 4a81d7a to 5ccf356 Compare December 5, 2025 19:20
Set the `SWIFT_FORCE_STATIC_LINK_STDLIB` build setting in SwiftBuild
accordingly to the command line argument and if it's not on Darwin.

In addition, set the SWIFT_RESOURCE_DIR setting as that is what the
Native build system does.

Fixes: swiftlang#9320
Issue: rdar://163948614
@bkhouri bkhouri force-pushed the t/main/gh9320_rdar163948614_add_swift-static-stdlib_support branch from 5ccf356 to 231177e Compare December 5, 2025 19:23
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.

[Parity] Add parity support for --[no-]static-swift-stdlib support (SwiftBuild)

1 participant