-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix for build failure due to change in TypeId
hash size (64 to 128 bits) in Rust 1.72.0.
#194
Fix for build failure due to change in TypeId
hash size (64 to 128 bits) in Rust 1.72.0.
#194
Conversation
- updated `v8` to `0.75.1` (latest) for the `gateway` crate.
ENG-1017 `cargo build` on `Polybase-rust` fails with rustc 1.72.0 due to changes in `TypeId`.
The
which fails in Rust 1.72 due to Release notes: https://github.com/rust-lang/rust/releases/tag/1.72.0 Relevant issue: rust-lang/compiler-team#608 This is causing a failure in CI as well (the other jobs passed due to caching, I presume):
|
Sanity checks done:
|
TypeId
from 64 to 128 bits):TypeId
hash size (64 to 128 bits) in Rust 1.72.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also change the Rust version in the Dockerfile either to 1.72 or back to just 1 (and let docker pick latest minor) https://github.com/polybase/polybase-rust/blob/main/docker/Dockerfile#L2
Good catch! I think changing that to "1" makes sense - let Docker pick up the latest minor version. |
Nice work team! |
Changes (due to Rust 1.72 having changed
TypeId
from 64 to 128 bits):v8
to0.75.1
(latest) for thegateway
crate.Notes: (full notes on Linear):
TypeId
hash from 64 to 128 bits (https://github.com/rust-lang/rust/releases/tag/1.72.0). Relevant issue here - IncreaseTypeId
's hash from 64 bits to 128 bits. rust-lang/compiler-team#608.v8
(0.62.2) not having the updates in theassert
statement as shown below:v0.62.2:
latest (v0.75.1):