Moved ingo_<curve> output to same directory as original library output allowing rust build script to find it when crate is used as a dependency

This commit is contained in:
Jeremy Felder
2023-12-25 10:11:50 +02:00
parent 31108ee31d
commit a87f2251da

View File

@@ -4,6 +4,9 @@ fn main() {
println!("cargo:rerun-if-env-changed=CXXFLAGS");
println!("cargo:rerun-if-changed=../../../../icicle");
let cargo_dir = var("CARGO_MANIFEST_DIR").unwrap();
let profile = var("PROFILE").unwrap();
let out_dir = Config::new("../../../../icicle")
.define("BUILD_TESTS", "OFF") //TODO: feature
.define("CURVE", "bn254")