Skip to content

[cxx-interop] Do not try linking with swiftstd #64766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

egorzhdan
Copy link
Contributor

This fixes an ld warning:

ld: warning: Could not find or use auto-linked library ‘swiftstd’

swiftstd was renamed to swiftCxxStdlib. We were still trying to link with swiftstd for some time to allow building with hosttools and to keep the CI green, however a new toolchain was released since the module was renamed, so this is no longer needed.

rdar://107412807

This fixes an ld warning:
```
ld: warning: Could not find or use auto-linked library ‘swiftstd’
```

`swiftstd` was renamed to `swiftCxxStdlib`. We were still trying to link with `swiftstd` for some time to allow building with hosttools and to keep the CI green, however a new toolchain was released since the module was renamed, so this is no longer needed.

rdar://107412807
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Mar 30, 2023
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan
Copy link
Contributor Author

@swift-ci please test

@egorzhdan egorzhdan requested review from hyp and zoecarver March 30, 2023 10:45
@hyp
Copy link
Contributor

hyp commented Mar 30, 2023

Worrying that there's no test but it LGTM

@egorzhdan egorzhdan merged commit 0440133 into main Mar 30, 2023
@egorzhdan egorzhdan deleted the egorzhdan/swiftstd-ld-warning branch March 30, 2023 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants