Skip to content

Commit

Permalink
Fix for build failure due to change in TypeId hash size (64 to 128 …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
timmyjose authored Aug 29, 2023
1 parent a24f2b0 commit 8ede7cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build binary
FROM rust:1.71.0-bookworm AS workspace
FROM rust:1-bookworm AS workspace

RUN rustup component add rustfmt && \
apt update && apt install -y libglib2.0-dev libssl-dev libclang-dev python3 protobuf-compiler libprotobuf-dev
Expand Down
2 changes: 1 addition & 1 deletion gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ schema = { path = "../schema" }
polylang = { git = "https://github.com/polybase/polylang", branch = "main" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
v8 = "0.62.2"
v8 = "0.75.1"
thiserror = "1.0"
async-recursion = "1.0.2"
tracing = "0.1.37"
Expand Down

0 comments on commit 8ede7cc

Please sign in to comment.