change output to go to OUT_DIR

This commit is contained in:
Mark McCaskey
2019-03-19 11:23:04 -07:00
parent 8253862935
commit b1ef4ef0fa
3 changed files with 4 additions and 4 deletions

View File

@ -209,4 +209,5 @@ pub trait Cache {
}
/// A unique ID generated from the version of Wasmer for use with cache versioning
pub const WASMER_VERSION_HASH: &'static str = include_str!("../wasmer_version_hash.txt");
pub const WASMER_VERSION_HASH: &'static str =
include_str!(concat!(env!("OUT_DIR"), "/wasmer_version_hash.txt"));