Skip to content

Conversation

phausler
Copy link
Contributor

This is a port of the changes made here: swiftlang/swift#69258 to avoid passing -lswiftCore to embedded targets.

} else if staticStdlib {
linkFilePath = linkFilePath?.appending(component: "static-stdlib-args.lnk")
} else if embeddedEnabled {
linkFilePath = nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we please add a test that passes the experimental feature flag and makes sure the link command does not contain this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

finally coming back around to this: are there good examples of these types of tests already present? I did not immediately see any.

@phausler
Copy link
Contributor Author

phausler commented Nov 7, 2023

@swift-ci please test

@MaxDesiatov
Copy link
Contributor

@swift-ci test windows

@artemcm
Copy link
Contributor

artemcm commented Nov 7, 2023

Windows error looks unrelated to this PR.

@artemcm
Copy link
Contributor

artemcm commented Nov 7, 2023

@compnerd it looks like an error in the build.ps1, have you seen this before?

@phausler
Copy link
Contributor Author

phausler commented Jan 2, 2024

Closing in favor of #1516

@phausler phausler closed this Jan 2, 2024
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.

3 participants