-
Notifications
You must be signed in to change notification settings - Fork 26
Hash function changed in swift #122
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
Conversation
In a recent change, swift changed the way a hash is calculated. https://github.com/swiftlang/llvm-project/pull/9140/files#diff-dcdee0465a74e090b01bd5bd0d214f65f430f25a56b837ab627966318de1ff27R289 This change replicates this change. Issue: MobileNativeFoundation#120
for more information, see https://pre-commit.ci
|
I used this tag to build swift: swift-DEVELOPMENT-SNAPSHOT-2025-01-10-a and tested with this. it seems to work. |
In a recent change, swift changed the way a hash is calculated. https://github.com/swiftlang/llvm-project/pull/9140/files#diff-dcdee0465a74e090b01bd5bd0d214f65f430f25a56b837ab627966318de1ff27R289 This change replicates this change. Issue: MobileNativeFoundation#120 Signed-off-by: Bernd Kolb <b_kolb@apple.com>
371a738 to
2b46cf9
Compare
for more information, see https://pre-commit.ci
|
thanks for submitting this! do we have to worry about backwards compat here? can you rebase and fix the DCO? |
|
To make this backwards compatible, should |
|
I think defaulting to this new behavior, and adding a flag for the legacy behavior, is probably fine |
|
@keith makes sense, i can add that if @bkolb cant get to it. Did we confirm this fixes issues though? I tested with a local build based off this branch using the release instructions but i was still seeing issues in Xcode 16.3: More info in: MobileNativeFoundation/rules_xcodeproj#3160 |
|
i haven't tested e2e, what has is it producing instead for this object? |
|
edited -- this was a mistake on my part i had not tested it e2e, forgot |
|
Tested (correctly this time) end-to-end and this is working now in Xcode 16.3 & macOS 15.4 👍🏼 |
In a recent change, swift changed the way a hash is calculated. https://github.com/swiftlang/llvm-project/pull/9140/files#diff-dcdee0465a74e090b01bd5bd0d214f65f430f25a56b837ab627966318de1ff27R289
This change replicates this change.
Issue: #120