Commit 98ed11e4 authored by qinsoon's avatar qinsoon

make subcrates name starts with mu_

parent 3f5972b0
Pipeline #752 passed with stages
in 30 minutes and 13 seconds
......@@ -31,10 +31,11 @@ jit = []
gcc = "*"
[dependencies]
ast = {path = "src/ast"}
utils = {path = "src/utils"}
gc = {path = "src/gc"}
mu_ast = {path = "src/ast"}
mu_utils = {path = "src/utils"}
mu_gc = {path = "src/gc"}
rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", version = ">= 0.0.5" }
libc="*"
field-offset = "*"
libloading = "*"
......
......@@ -13,7 +13,7 @@
# limitations under the License.
[package]
name = "ast"
name = "mu_ast"
version = "0.0.1"
authors = ["qinsoon <qinsoon@gmail.com>"]
......@@ -21,7 +21,7 @@ authors = ["qinsoon <qinsoon@gmail.com>"]
crate-type = ["rlib"]
[dependencies]
utils = {path = "../utils"}
mu_utils = {path = "../utils"}
lazy_static = "*"
log = "*"
simple_logger = "*"
......
......@@ -36,7 +36,7 @@ extern crate rodal;
extern crate simple_logger;
#[macro_use]
extern crate lazy_static;
extern crate utils;
extern crate mu_utils as utils;
/// all data structures for MuIR is an *MuEntity*
/// which has a unique MuID, and an optional MuName
......
......@@ -13,7 +13,7 @@
# limitations under the License.
[package]
name = "gc"
name = "mu_gc"
version = "0.0.1"
authors = ["qinsoon <qinsoon@gmail.com>"]
build = "build.rs"
......@@ -29,8 +29,7 @@ use-sidemap = []
gcc = "*"
[dependencies]
utils = {path = "../utils"}
mu_utils = {path = "../utils"}
time = "*"
lazy_static = "*"
log = "*"
......
......@@ -69,7 +69,7 @@
#[macro_use]
extern crate rodal;
extern crate utils;
extern crate mu_utils as utils;
#[macro_use]
extern crate lazy_static;
#[macro_use]
......
......@@ -33,10 +33,10 @@ extern crate extprim;
extern crate num;
#[macro_use]
pub extern crate ast;
pub extern crate mu_ast as ast;
#[macro_use]
pub extern crate utils;
pub extern crate gc;
pub extern crate mu_utils as utils;
pub extern crate mu_gc as gc;
pub mod vm;
pub mod compiler;
pub mod runtime;
......
......@@ -16,7 +16,7 @@
/// we design the GC crate to be separate from other parts of the VM, and to be self-contained
/// as much as possible. We only expose limited interface (functions, data structures, constants)
/// from the GC crate, and those get re-exported in this module.
extern crate gc;
extern crate mu_gc as gc;
pub use self::gc::*;
use utils::ByteSize;
......
......@@ -13,7 +13,7 @@
# limitations under the License.
[package]
name = "utils"
name = "mu_utils"
version = "0.0.1"
authors = ["qinsoon <qinsoon@gmail.com>"]
......
......@@ -48,5 +48,5 @@ mod deps {
pub use ast::ir::MuName;
pub use ast::ir::CName;
pub use vm::handle::APIHandle;
extern crate ast;
extern crate mu_ast as ast;
}
......@@ -13,7 +13,7 @@
// limitations under the License.
extern crate mu;
extern crate utils;
extern crate mu_utils as utils;
#[macro_use]
extern crate log;
extern crate maplit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment