mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-19 21:39:09 +00:00
fix windows issues
This commit is contained in:
parent
8334acd085
commit
beb3d364a8
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "tun2proxy"
|
||||
version = "1.0.0"
|
||||
version = "0.4.0"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/blechschmidt/tun2proxy"
|
||||
|
|
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
Reference in a new issue