Skip to content

Commit 8ede7cc

Browse files
authored
Fix for build failure due to change in TypeId hash size (64 to 128 bits) in Rust 1.72.0. (#194)
* Changes (due to Rust 1.72 having changed `TypeId` from 64 to 128 bits): - updated `v8` to `0.75.1` (latest) for the `gateway` crate. * Changing Dockerfile to force Docker to pick minor version automatically.
1 parent a24f2b0 commit 8ede7cc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build binary
2-
FROM rust:1.71.0-bookworm AS workspace
2+
FROM rust:1-bookworm AS workspace
33

44
RUN rustup component add rustfmt && \
55
apt update && apt install -y libglib2.0-dev libssl-dev libclang-dev python3 protobuf-compiler libprotobuf-dev

gateway/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ schema = { path = "../schema" }
1212
polylang = { git = "https://github.com/polybase/polylang", branch = "main" }
1313
serde = { version = "1.0", features = ["derive"] }
1414
serde_json = "1.0"
15-
v8 = "0.62.2"
15+
v8 = "0.75.1"
1616
thiserror = "1.0"
1717
async-recursion = "1.0.2"
1818
tracing = "0.1.37"

0 commit comments

Comments
 (0)