From 67a24a35d89ccd9d7cfd7c2226667f3b11ca21ae Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Thu, 19 Sep 2019 23:17:31 -0400 Subject: [PATCH] Fix path lookups on Windows --- aeron_driver-sys/Cargo.toml | 1 + aeron_driver-sys/build.rs | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aeron_driver-sys/Cargo.toml b/aeron_driver-sys/Cargo.toml index 685e871..8aac0d8 100644 --- a/aeron_driver-sys/Cargo.toml +++ b/aeron_driver-sys/Cargo.toml @@ -11,6 +11,7 @@ build = "build.rs" [build-dependencies] bindgen = "0.51" cmake = "0.1" +dunce = "1.0.0" [features] static = [] diff --git a/aeron_driver-sys/build.rs b/aeron_driver-sys/build.rs index 987c2ca..50858a6 100644 --- a/aeron_driver-sys/build.rs +++ b/aeron_driver-sys/build.rs @@ -1,7 +1,6 @@ use cmake::Config; - +use dunce::canonicalize; use std::env; -use std::fs::canonicalize; use std::path::{Path, PathBuf}; pub enum LinkType {