mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
fix build script
This commit is contained in:
parent
d4ee95e445
commit
e4147f7b80
1 changed files with 0 additions and 6 deletions
|
@ -3,15 +3,9 @@ extern crate cbindgen;
|
|||
use cbindgen::{Config, Language, MacroExpansionConfig};
|
||||
use std::env;
|
||||
use std::path::PathBuf;
|
||||
|
||||
fn main() {
|
||||
#[cfg(feature = "ztcontroller")]
|
||||
{
|
||||
// Ensure the `cbindgen` crate is available
|
||||
cbindgen::generate("src/ext.rs")
|
||||
.expect("Unable to generate bindings")
|
||||
.write_to_file("rustybits.h");
|
||||
|
||||
let mut prost_build = prost_build::Config::new();
|
||||
|
||||
prost_build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue