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:
@@ -21,8 +21,9 @@ target-lexicon = { version = "0.0.3", default-features = false }
|
||||
# machine code. Integration tests that need external dependencies can be
|
||||
# accomodated in `tests`.
|
||||
|
||||
[build-dependencies]
|
||||
cranelift-codegen-meta = { path = "../codegen-meta", version = "0.17.0-alpha" }
|
||||
# Temporarily disable this while we work out how to publish this crate.
|
||||
#[build-dependencies]
|
||||
#cranelift-codegen-meta = { path = "../codegen-meta", version = "0.17.0-alpha" }
|
||||
|
||||
[features]
|
||||
# The "std" feature enables use of libstd. The "core" feature enables use
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user