From 570f7bc20b5be5c780a1fbd89dc4063154d75a6f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 2 Aug 2018 15:36:54 -0700 Subject: [PATCH] Rename "cranelift-meta" to just "meta". This makes it easier for the publish-all.sh script to know to skip this crate, and it avoids the need to use `extern cranelift_meta as meta`. --- lib/codegen/Cargo.toml | 2 +- lib/codegen/build.rs | 2 +- lib/codegen/meta/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/codegen/Cargo.toml b/lib/codegen/Cargo.toml index faf6df011c..d9094daab1 100644 --- a/lib/codegen/Cargo.toml +++ b/lib/codegen/Cargo.toml @@ -22,7 +22,7 @@ target-lexicon = { version = "0.0.3", default-features = false } # accomodated in `tests`. [build-dependencies] -cranelift-meta = { path = "meta", version = "0.0.0" } +meta = { path = "meta", version = "0.0.0" } [features] # The "std" feature enables use of libstd. The "core" feature enables use diff --git a/lib/codegen/build.rs b/lib/codegen/build.rs index dedaa35f8a..5c88f63fa3 100644 --- a/lib/codegen/build.rs +++ b/lib/codegen/build.rs @@ -18,7 +18,7 @@ // 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_meta as meta; +extern crate meta; use std::env; use std::process; diff --git a/lib/codegen/meta/Cargo.toml b/lib/codegen/meta/Cargo.toml index 5803d6e742..17dfd1ce7c 100644 --- a/lib/codegen/meta/Cargo.toml +++ b/lib/codegen/meta/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "cranelift-meta" +name = "meta" authors = ["The Cranelift Project Developers"] version = "0.0.0" description = "Metaprogram for cranelift-codegen code generator library"