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

Ported the implementation of binary search from Rust <=1.81 to Soroban #1480

Closed
wants to merge 3 commits into from

Conversation

dmkozh
Copy link
Contributor

@dmkozh dmkozh commented Oct 24, 2024

What

Ported the implementation of binary search from Rust <=1.81 to Soroban.

Bump the env version to 21.2.2.

Why

To keep the binary search implementation the same in the future Rust versions.

Known limitations

N/A

#1477)

### What

Ported the implementation of binary search from Rust <=1.81 to Soroban
env.

### Why

This is necessary for 2 reasons:

- Fix the immediate issue of CI failing due to observation divergence in
Rust 1.82 caused by the binary search implementation change
- Protect ourselves from the similar issues in the future - we were
effectively observing the stdlib implementation and that's incorrect and
risky in the long term.

### Known limitations

N/A
@dmkozh dmkozh requested review from graydon, sisuresh and a team as code owners October 24, 2024 19:48
@dmkozh dmkozh closed this Oct 24, 2024
@dmkozh dmkozh deleted the release/v21.2.2 branch October 24, 2024 20:24
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.

1 participant