mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-20 16:10:52 +00:00
fix windows issues
This commit is contained in:
parent
8334acd085
commit
beb3d364a8
2 changed files with 3 additions and 3 deletions
4
build.rs
4
build.rs
|
@ -5,8 +5,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
use std::io::Write;
|
||||
f.write_all(format!("CARGO_TARGET_DIR: '{}'\r\n", cargo_target_dir.display()).as_bytes())?;
|
||||
|
||||
// The wintun crate's root directory
|
||||
let crate_dir = get_crate_dir("wintun")?;
|
||||
// The wintun-bindings crate's root directory
|
||||
let crate_dir = get_crate_dir("wintun-bindings")?;
|
||||
|
||||
// The path to the DLL file, relative to the crate root, depending on the target architecture
|
||||
let dll_path = get_wintun_bin_relative_path()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue