Skip to content

Commit 09c8d82

Browse files
committed
Fix windows
Signed-off-by: Andrew Stein <steinlink@gmail.com>
1 parent 85da3c6 commit 09c8d82

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/perspective-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ path = "src/rust/lib.rs"
5757
[build-dependencies]
5858
prost-build = { version = "0.12.3" }
5959
# https://github.com/abseil/abseil-cpp/issues/1241#issuecomment-2138616329
60-
protobuf-src = { version = "=2.1.1", optional = true }
60+
protobuf-src = { rev = "1aba500e469f8bdc384a0fe9e69c189fda72e059", git = "https://github.com/MaterializeInc/rust-protobuf-native", optional = true }
6161

6262
[dependencies]
6363
async-lock = { version = "2.5.0" }

rust/perspective-client/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ fn prost_build() -> Result<()> {
4343
unsafe {
4444
std::env::set_var("PROTOC", protobuf_src::protoc())
4545
};
46+
4647
#[cfg(not(feature = "protobuf-src"))]
4748
if std::env::var("PROTOC").is_err() {
4849
panic!(

rust/perspective-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ disable-cpp = []
4242
cmake = "0.1.50"
4343
num_cpus = "^1.15.0"
4444
shlex = "1.3.0"
45-
protobuf-src = { version = "2.1.1" }
45+
protobuf-src = { rev = "1aba500e469f8bdc384a0fe9e69c189fda72e059", git = "https://github.com/MaterializeInc/rust-protobuf-native" }
4646

4747
[dependencies]
4848
perspective-client = { version = "4.0.1" }

0 commit comments

Comments
 (0)