Skip to content

Conversation

owenv
Copy link
Collaborator

@owenv owenv commented Sep 2, 2025

No description provided.

@owenv
Copy link
Collaborator Author

owenv commented Sep 2, 2025

@swift-ci test

@jakepetroules
Copy link
Collaborator

This really needs to depend on the specific linker in use; what about cross compilation scenarios where we are using lld on macOS or Windows?

@owenv
Copy link
Collaborator Author

owenv commented Sep 3, 2025

This really needs to depend on the specific linker in use; what about cross compilation scenarios where we are using lld on macOS or Windows?

The general idea here is that this change establishes the correct platform-default behavior, and then we'll need to inspect -fuse-ld flags at some point to override that behavior when manually selecting a different linker

@owenv
Copy link
Collaborator Author

owenv commented Sep 3, 2025

@swift-ci test

@owenv
Copy link
Collaborator Author

owenv commented Sep 3, 2025

@swift-ci test

private static let dollarSign = Character("$")
}

/// Suitable for escaping Windows process arguments, but NOT command lines which will be interpreted by a shell
Copy link
Collaborator

Choose a reason for hiding this comment

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

Excellent call out :)

@owenv owenv merged commit 3a242d6 into swiftlang:main Sep 4, 2025
37 checks passed
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