Skip to content

Commit 6c49f4e

Browse files
committed
Fix compilation
1 parent 94f5f7b commit 6c49f4e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

protobuf/build.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
use std::env;
22
use std::env::VarError;
33
use std::fs::File;
4-
use std::io::Read;
54
use std::io::Write;
65
use std::path::Path;
76
use std::path::PathBuf;
8-
use std::process;
97

108
fn cfg_serde() {
119
match env::var("CARGO_FEATURE_WITH_SERDE") {
@@ -52,7 +50,6 @@ fn write_version() {
5250
}
5351

5452
fn main() {
55-
cfg_rust_version();
5653
cfg_serde();
5754
write_version();
5855
}

0 commit comments

Comments
 (0)