Skip to content

Conversation

@kateinoigakukun
Copy link
Member

The -Xlinker values should be passed to Clang with -Xlinker but it was not done for WebAssembly. This patch fixes it by factoring out the common logic for processing -Xlinker and -Xclang-linker options and using it in all toolchains.

The `-Xlinker` values should be passed to Clang with `-Xlinker` but it
was not done for WebAssembly. This patch fixes it by factoring out the
common logic for processing `-Xlinker` and `-Xclang-linker` options and
using it in all toolchains.
@kateinoigakukun
Copy link
Member Author

@swift-ci Please test

Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

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

Thanks!

@kateinoigakukun kateinoigakukun merged commit f902c2a into swiftlang:main Feb 2, 2024
@kateinoigakukun kateinoigakukun deleted the yt/fix-wasm-clang-linker branch February 2, 2024 21:01
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