Skip to content

enable StrictConcurrency build setting#760

Open
weissi wants to merge 1 commit into
swift-server:mainfrom
weissi:jw-sc
Open

enable StrictConcurrency build setting#760
weissi wants to merge 1 commit into
swift-server:mainfrom
weissi:jw-sc

Conversation

@weissi

@weissi weissi commented Aug 7, 2024

Copy link
Copy Markdown
Contributor

Set

swiftSettings: [
    .enableExperimentalFeature("StrictConcurrency")
]

so we know where there's work.

@Lukasa Lukasa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is currently incompatible with warnings-as-errors, so we need some CI tweaks to handle it.

@weissi

weissi commented Aug 7, 2024

Copy link
Copy Markdown
Contributor Author

This is currently incompatible with warnings-as-errors, so we need some CI tweaks to handle it.

Ah yeah, should I just tweak the CI?


test:
<<: *common
command: /bin/bash -xcl "swift test --parallel -Xswiftc -warnings-as-errors --enable-test-discovery $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@Lukasa removed that

@weissi weissi requested a review from Lukasa August 7, 2024 14:26
@Lukasa

Lukasa commented Aug 7, 2024

Copy link
Copy Markdown
Collaborator

That can work, though @FranzBusch is in the process of cutting over to a new CI scheme so we may want to hold off and tackle this slightly later.

It's also not clear that AHC can easily do this without us sorting out NIO first.

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