Browse Source

fix windows issues

pull/156/head
ssrlive 2 years ago
parent
commit
beb3d364a8
  1. 2
      Cargo.toml
  2. 4
      build.rs

2
Cargo.toml

@ -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

@ -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…
Cancel
Save