diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-03-25 21:35:21 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-03-25 21:35:21 +0100 |
commit | f31cbf2a027bc0b1c3263d5942388cd464ee9048 (patch) | |
tree | ea7126ccb056d6b8da8e668abc75e924308e907a /build.rs | |
parent | 63d2cd263ee3e68118213ae5b8ba1326fc3ee03e (diff) | |
parent | cedc85c55032afca28fe9b4a1bd11499267f6009 (diff) | |
download | glutin-f31cbf2a027bc0b1c3263d5942388cd464ee9048.tar.gz glutin-f31cbf2a027bc0b1c3263d5942388cd464ee9048.zip |
Merge pull request #326 from tomaka/rustup
Rustup
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +#![feature(convert)] + extern crate gl_generator; extern crate khronos_api; @@ -7,7 +9,7 @@ use std::path::PathBuf; fn main() { let target = env::var("TARGET").unwrap(); - let dest = PathBuf::new(&env::var("OUT_DIR").unwrap()); + let dest = PathBuf::from(&env::var("OUT_DIR").unwrap()); if target.contains("windows") { let mut file = File::create(&dest.join("wgl_bindings.rs")).unwrap(); |