Remove unused fn
This commit is contained in:
parent
9cdeb1225b
commit
5ce0650379
10
build.rs
10
build.rs
@ -1,18 +1,8 @@
|
|||||||
extern crate prost_build;
|
extern crate prost_build;
|
||||||
|
|
||||||
use prost_build::compile_protos;
|
use prost_build::compile_protos;
|
||||||
use std::path::Path;
|
|
||||||
|
|
||||||
fn update_repo(path: &Path) -> Result<(), git2::Error> {
|
|
||||||
let repo = Repository::open(path)?;
|
|
||||||
let mut remote = repo.find_remote("origin")?;
|
|
||||||
let refspecs: [&str; 0] = [];
|
|
||||||
remote.fetch(&refspecs, None, None)
|
|
||||||
}
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let path = Path::new("protobufs");
|
|
||||||
|
|
||||||
let protos = &["protobufs/meshtastic/mesh.proto"];
|
let protos = &["protobufs/meshtastic/mesh.proto"];
|
||||||
let includes = &["protobufs"];
|
let includes = &["protobufs"];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user