Skip to content

Conversation

drodriguez
Copy link
Contributor

The test enables the Embedded experimental feature, but beside the compiler support, it also requires loading the stdlib for embedded, but the test is not marked as such. For configurations that do not build the embedded stdlibs, this makes the test fail, because the stdlib is not available. Mark it with the appropriate requires to avoid this problem.

This should not change the results in the swift.org CI because those CI configurations build the embedded stdlibs by default.

The test enables the Embedded experimental feature, but beside the
compiler support, it also requires loading the stdlib for embedded, but
the test is not marked as such. For configurations that do not build the
embedded stdlibs, this makes the test fail, because the stdlib is not
available. Mark it with the appropriate requires to avoid this problem.

This should not change the results in the swift.org CI because those CI
configurations build the embedded stdlibs by default.
@drodriguez
Copy link
Contributor Author

@swift-ci please smoke test

@drodriguez drodriguez enabled auto-merge (squash) October 2, 2025 17:42
@drodriguez
Copy link
Contributor Author

@nate-chandler I wonder if the crash only was reproducing when using --enable-experimental-feature Embedded. The test seems to pass if I remove those, which will also avoid the need for this new REQUIRES: line.

@nate-chandler
Copy link
Contributor

Yes, the crash was only reproducing with that. Thank you for adding the line.

Copy link
Contributor

@nate-chandler nate-chandler left a comment

Choose a reason for hiding this comment

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

LGTM

@drodriguez
Copy link
Contributor Author

@swift-ci please test Windows platform

@drodriguez drodriguez merged commit e9ca11e into swiftlang:main Oct 3, 2025
3 checks passed
@drodriguez drodriguez deleted the fix-rdar161433604 branch October 6, 2025 18:12
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