Skip to content
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

build: add escape from failed guard condition #114

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Conversation

andrewjl-mux
Copy link
Contributor

@andrewjl-mux andrewjl-mux commented Jun 20, 2024

precondition gets elided by optimizer under certain optimization modes and results in a build error. Replace with fatalError always remains

Improvements

  • build: add escape from failed guard condition

Co-authored-by: AJ Lauer Barinov [email protected]

precondition gets elided by optimizer under certain optimization modes
and results in a build error. Replace with fatalError always remains
@andrewjl-mux andrewjl-mux requested a review from a team as a code owner June 20, 2024 17:38
@andrewjl-mux andrewjl-mux linked an issue Jun 20, 2024 that may be closed by this pull request
@andrewjl-mux andrewjl-mux merged commit b42788f into main Jun 20, 2024
5 checks passed
@andrewjl-mux andrewjl-mux deleted the releases/v1.0.1 branch June 20, 2024 18:39
Copy link

A draft release has been created for this version. Find it here! https://github.com/muxinc/swift-upload-sdk/releases/tag/untagged-775fa836333fa7f39dd1

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.

'Guard' Body Error
2 participants