Skip to content

Commit

Permalink
baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
dubiousjim committed Jun 15, 2020
1 parent 1c210ee commit 2937852
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Expand Up @@ -84,12 +84,13 @@ impl Build {
let inner_dir = build_dir.join("src");
fs::create_dir_all(&inner_dir).unwrap();
cp_r(&source_dir(), &inner_dir);
let _ = host;

assert_eq!(out_dir, env::var("OUT_DIR").unwrap());
assert_eq!(out_dir.as_os_str(), env::var_os("OUT_DIR").unwrap());
// install_dir = out_dir
// build_dir = out_dir/build
// inner_dir = build_dir/src
assert_eq!(&source_dir(), "/usr/code/libressl");
assert_eq!(source_dir().to_str().unwrap(), "/usr/code/libressl");

// see https://stackoverflow.com/a/33279062/272427
let mut touch = Command::new("touch");
Expand Down

0 comments on commit 2937852

Please sign in to comment.