Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Do not build Demangle on Swift 5.9 or above #73

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

euanh
Copy link
Contributor

@euanh euanh commented Jun 13, 2024

Pull request #68 prevents Backtrace from being built on Swift 5.9 and above, but Demangle is still built and fails when the importing project uses musl.

@euanh
Copy link
Contributor Author

euanh commented Jun 13, 2024

The problem I ran into was similar to #71, but instead of making the library compatible with musl this change switches off the build on newer Swift versions, as #68 did for Backtrace.swift.

I added the conditional imports in Sample to provide a simple target to test that a musl build no longer fails.

@FranzBusch
Copy link
Contributor

@swift-server-bot test this please

1 similar comment
@ktoso
Copy link
Contributor

ktoso commented Jun 13, 2024

@swift-server-bot test this please

@ktoso
Copy link
Contributor

ktoso commented Jun 13, 2024

Hmmm we lost CI rights, @yim-lee do you think you could help?

@yim-lee
Copy link
Collaborator

yim-lee commented Jun 13, 2024

@swift-server-bot add to allowlist

@yim-lee
Copy link
Collaborator

yim-lee commented Jun 13, 2024

@FranzBusch @ktoso We need to do "add to allowlist" first. AFAIK no one can trigger a build if the CI doesn't recognize the PR author.

Also, can one of you approve and merge #70 for Swift 5.10 CI please?

@ktoso
Copy link
Contributor

ktoso commented Jun 13, 2024

Oh I'm silly and forgot that... Thank you @yim-lee -- merged the other thing

Pull request swift-server#68 prevents Backtrace from being built on Swift 5.9 and above,
but Demangle is still built and fails when the importing project uses musl.
@euanh euanh force-pushed the do-not-build-demangle-after-5.9 branch from 0843703 to d4f33e7 Compare June 13, 2024 16:51
@FranzBusch FranzBusch merged commit 7277ee0 into swift-server:main Jun 17, 2024
13 checks passed
@euanh euanh deleted the do-not-build-demangle-after-5.9 branch June 17, 2024 10:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants