Skip to content

Restore the Ability to Build with 5.6/5.5 #560

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
Aug 8, 2022

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Aug 5, 2022

We still support building with tools from Xcode 13, so we cannot adopt
features after Swift 5.5. Recreate UMRP.alignedUp(toMultipleOf:) for
this environment and conditionalize docc support in the build script
on the newer language features being around.

We still support building with tools from Xcode 13, so we cannot adopt
features after Swift 5.5. Recreate UMRP.alignedUp(toMultipleOf:) for
this environment and conditionalize docc support in the build script
on the newer language features being around.
@CodaFi CodaFi requested a review from ahoppen as a code owner August 5, 2022 21:01
@CodaFi
Copy link
Contributor Author

CodaFi commented Aug 5, 2022

@swift-ci test

@@ -142,9 +142,11 @@ let package = Package(
]
)

// If `SWIFTCI_USE_LOCAL_DEPS` is set, we are in a CI enviornment that might disallow
#if swift(>=5.6)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't understand why we have this dependency. We do not need swift-docc-plugin to use docc, just the 5.5 package manifest or later. I would like to remove it.

Copy link
Member

Choose a reason for hiding this comment

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

I thought that we needed it to build/preview the documentation using the following command. But maybe I’m missing something.

swift package --disable-sandbox preview-documentation --target SwiftSyntax

CC @kimdv

@CodaFi CodaFi changed the title Restore the Ability to Build with 5.6 Restore the Ability to Build with 5.6/5.5 Aug 5, 2022
Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

Thanks

@CodaFi CodaFi merged commit f8f9100 into swiftlang:main Aug 8, 2022
@CodaFi CodaFi deleted the way-back-machine branch August 8, 2022 18:18
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