target out_dir in build script

This commit is contained in:
Mark Thom
2019-09-27 00:05:19 -06:00
parent 9a83ccbdbc
commit 5ec4dfedb0
4 changed files with 27 additions and 21 deletions

View File

@@ -163,7 +163,7 @@ impl SubModuleUser for IndexStore {
}
}
include!("libraries.rs");
include!(concat!(env!("OUT_DIR"), "/libraries.rs"));
static TOPLEVEL: &str = include_str!("../toplevel.pl");