Temporarily disable use of cretonne-codegen-meta.

Once we figure out how to publish this code, we can re-enable it.
This commit is contained in:
Dan Gohman
2018-07-23 16:53:14 -07:00
parent 6cb03a873d
commit 8904ec77c9
2 changed files with 10 additions and 7 deletions

View File

@@ -18,7 +18,8 @@
// The build script expects to be run from the directory where this build.rs file lives. The
// current directory is used to find the sources.
extern crate cranelift_codegen_meta as meta;
// Temporarily disable this while we work out how to publish this crate.
//extern crate cranelift_codegen_meta as meta;
use std::env;
use std::process;
@@ -80,10 +81,11 @@ fn main() {
// Now that the Python build process is complete, generate files that are
// emitted by the `cretonne_codegen_meta` crate.
// ------------------------------------------------------------------------
if let Err(err) = meta::gen_types::generate("new_types.rs", &out_dir) {
eprintln!("Error: {}", err);
process::exit(1);
}
// Temporarily disable this while we work out how to publish this crate.
//if let Err(err) = meta::gen_types::generate("new_types.rs", &out_dir) {
// eprintln!("Error: {}", err);
// process::exit(1);
//}
}
fn identify_python() -> &'static str {