Skip to content

[cxx-interop] Remove -fno-rtti workaround in tests #80531

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 2 commits into from
Apr 7, 2025

Conversation

egorzhdan
Copy link
Contributor

-Xcc -fno-rtti flags were added to these tests back in 2020 when we could not properly link with the C++ stdlib.

This should hopefully speed up these tests, which are currently among the slowest tests in the project.

`-Xcc -fno-rtti` flags were added to these tests back in 2020 when we could not properly link with the C++ stdlib.

This should hopefully speed up these tests, which are currently among the slowest tests in the project.
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Apr 4, 2025
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test macOS

@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test macOS

Copy link
Contributor

@j-hui j-hui left a comment

Choose a reason for hiding this comment

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

LGTM.

I'm wondering if you should take this opportunity to convert the experimental flag to -cxx-interoperability-mode, while you're cleaning this up anyway?

@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test macOS

@egorzhdan egorzhdan force-pushed the egorzhdan/test-rtti-enable branch from c656426 to 7741a4d Compare April 7, 2025 10:19
@egorzhdan
Copy link
Contributor Author

@j-hui sounds good, I switched to the new flag

@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan egorzhdan merged commit e7aa152 into main Apr 7, 2025
3 checks passed
@egorzhdan egorzhdan deleted the egorzhdan/test-rtti-enable branch April 7, 2025 15:05
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.

4 participants