Cargo.toml 2.05 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
# Copyright 2017 The Australian National University
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#     http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
 
[package]
name = "mu"
version = "0.0.1"
authors = [ "Your name <you@example.com>" ]
build = "build.rs"

[lib]
crate-type = ["staticlib", "rlib", "dylib"]
doctest = false

[features]
default = ["aot"]
aot = []
jit = []
sel4-rumprun = []
sel4-rumprun-target-side = []

[build-dependencies]
gcc = "*"
34
built = "*"
35 36 37 38 39

[dependencies]
mu_ast = {path = "src/ast"}
mu_utils = {path = "src/utils"}
#mu_gc = {path = "src/gc"}
40
rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", branch = "rust-1.30.1", version = "^0.3.18" }
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
#rodal = { path = "./rodal", version = "*" }

libc="*"
field-offset = "*"
libloading = "*"
lazy_static = "0.2.11"
log = "0.3.8"
stderrlog = "0.2.3"
num = "*"
hprof = "*"
memmap = "*"
memsec = "0.1.9"
serde = "*"
serde_derive = "*"
time = "*"
maplit = "*"
docopt = "0.8.1"
petgraph = "*"
extprim = "*"
num-traits = "*"
61
built = "*"
62 63
mu_gc = { path = "src/gc"}

64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
#[target.aarch64-unknown-linux-gnu.dependencies]
#mu_gc = { path = "src/gc"}
#built = "0.1"
#
#[target.x86_64-unknown-linux-gnu.dependencies]
#mu_gc = { path = "src/gc"}
#built = "*"
#
#[target.x86_64-apple-darwin.dependencies]
#mu_gc = { path = "src/gc"}
#built = "0.1"
#
#[target.x86_64-rumprun-netbsd.dependencies]
#mu_gc = { path = "src/gc", features = ["sel4-rumprun-target-side"], target = "x86_64-rumprun-netbsd"}
#
#[target.aarch64-unknown-linux-gnu.build-dependencies]
#built = "0.1"
#
#[target.x86_64-unknown-linux-gnu.build-dependencies]
#built = "*"
#
#[target.x86_64-apple-darwin.build-dependencies]
#built = "0.1"