Commit 98ed11e4 authored by qinsoon's avatar qinsoon

make subcrates name starts with mu_

parent 3f5972b0
...@@ -31,10 +31,11 @@ jit = [] ...@@ -31,10 +31,11 @@ jit = []
gcc = "*" gcc = "*"
[dependencies] [dependencies]
ast = {path = "src/ast"} mu_ast = {path = "src/ast"}
utils = {path = "src/utils"} mu_utils = {path = "src/utils"}
gc = {path = "src/gc"} mu_gc = {path = "src/gc"}
rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", version = ">= 0.0.5" } rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", version = ">= 0.0.5" }
libc="*" libc="*"
field-offset = "*" field-offset = "*"
libloading = "*" libloading = "*"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# limitations under the License. # limitations under the License.
[package] [package]
name = "ast" name = "mu_ast"
version = "0.0.1" version = "0.0.1"
authors = ["qinsoon <qinsoon@gmail.com>"] authors = ["qinsoon <qinsoon@gmail.com>"]
...@@ -21,7 +21,7 @@ authors = ["qinsoon <qinsoon@gmail.com>"] ...@@ -21,7 +21,7 @@ authors = ["qinsoon <qinsoon@gmail.com>"]
crate-type = ["rlib"] crate-type = ["rlib"]
[dependencies] [dependencies]
utils = {path = "../utils"} mu_utils = {path = "../utils"}
lazy_static = "*" lazy_static = "*"
log = "*" log = "*"
simple_logger = "*" simple_logger = "*"
......
...@@ -36,7 +36,7 @@ extern crate rodal; ...@@ -36,7 +36,7 @@ extern crate rodal;
extern crate simple_logger; extern crate simple_logger;
#[macro_use] #[macro_use]
extern crate lazy_static; extern crate lazy_static;
extern crate utils; extern crate mu_utils as utils;
/// all data structures for MuIR is an *MuEntity* /// all data structures for MuIR is an *MuEntity*
/// which has a unique MuID, and an optional MuName /// which has a unique MuID, and an optional MuName
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# limitations under the License. # limitations under the License.
[package] [package]
name = "gc" name = "mu_gc"
version = "0.0.1" version = "0.0.1"
authors = ["qinsoon <qinsoon@gmail.com>"] authors = ["qinsoon <qinsoon@gmail.com>"]
build = "build.rs" build = "build.rs"
...@@ -29,8 +29,7 @@ use-sidemap = [] ...@@ -29,8 +29,7 @@ use-sidemap = []
gcc = "*" gcc = "*"
[dependencies] [dependencies]
utils = {path = "../utils"} mu_utils = {path = "../utils"}
time = "*" time = "*"
lazy_static = "*" lazy_static = "*"
log = "*" log = "*"
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
#[macro_use] #[macro_use]
extern crate rodal; extern crate rodal;
extern crate utils; extern crate mu_utils as utils;
#[macro_use] #[macro_use]
extern crate lazy_static; extern crate lazy_static;
#[macro_use] #[macro_use]
......
...@@ -33,10 +33,10 @@ extern crate extprim; ...@@ -33,10 +33,10 @@ extern crate extprim;
extern crate num; extern crate num;
#[macro_use] #[macro_use]
pub extern crate ast; pub extern crate mu_ast as ast;
#[macro_use] #[macro_use]
pub extern crate utils; pub extern crate mu_utils as utils;
pub extern crate gc; pub extern crate mu_gc as gc;
pub mod vm; pub mod vm;
pub mod compiler; pub mod compiler;
pub mod runtime; pub mod runtime;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
/// we design the GC crate to be separate from other parts of the VM, and to be self-contained /// 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) /// 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. /// 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::*; pub use self::gc::*;
use utils::ByteSize; use utils::ByteSize;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# limitations under the License. # limitations under the License.
[package] [package]
name = "utils" name = "mu_utils"
version = "0.0.1" version = "0.0.1"
authors = ["qinsoon <qinsoon@gmail.com>"] authors = ["qinsoon <qinsoon@gmail.com>"]
......
...@@ -48,5 +48,5 @@ mod deps { ...@@ -48,5 +48,5 @@ mod deps {
pub use ast::ir::MuName; pub use ast::ir::MuName;
pub use ast::ir::CName; pub use ast::ir::CName;
pub use vm::handle::APIHandle; pub use vm::handle::APIHandle;
extern crate ast; extern crate mu_ast as ast;
} }
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
extern crate mu; extern crate mu;
extern crate utils; extern crate mu_utils as utils;
#[macro_use] #[macro_use]
extern crate log; extern crate log;
extern crate maplit; 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