Fix build error on linux
This commit is contained in:
parent
8640dce7bc
commit
3ad3a21eed
2 changed files with 2 additions and 13 deletions
13
rust/Cargo.lock
generated
13
rust/Cargo.lock
generated
|
@ -751,19 +751,6 @@ version = "1.70.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
|
checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "openbao-helper"
|
|
||||||
version = "1.0.0"
|
|
||||||
dependencies = [
|
|
||||||
"anyhow",
|
|
||||||
"clap",
|
|
||||||
"common",
|
|
||||||
"hakari",
|
|
||||||
"log",
|
|
||||||
"nix",
|
|
||||||
"serde",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "percent-encoding"
|
name = "percent-encoding"
|
||||||
version = "2.3.1"
|
version = "2.3.1"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
|
use nix::unistd::execvpe;
|
||||||
use std::{
|
use std::{
|
||||||
collections::{BTreeMap, BTreeSet},
|
collections::{BTreeMap, BTreeSet},
|
||||||
ffi::{CString, OsString},
|
ffi::{CString, OsString},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue