Cargo.toml 2.07 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
# 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.
Isaac Oscar Gariano's avatar
Isaac Oscar Gariano committed
14
 
qinsoon's avatar
qinsoon committed
15 16 17
[package]
name = "mu"
version = "0.0.1"
qinsoon's avatar
qinsoon committed
18
authors = [ "Your name <you@example.com>" ]
qinsoon's avatar
qinsoon committed
19
build = "build.rs"
qinsoon's avatar
qinsoon committed
20

qinsoon's avatar
qinsoon committed
21
[lib]
22
crate-type = ["staticlib", "rlib", "dylib"]
23
doctest = false
qinsoon's avatar
qinsoon committed
24

qinsoon's avatar
qinsoon committed
25 26 27 28
[features]
default = ["aot"]
aot = []
jit = []
29 30
sel4-rumprun = []
sel4-rumprun-target-side = []
qinsoon's avatar
qinsoon committed
31

32
[build-dependencies]
33
gcc = "*"
34
#built = "0.1"
qinsoon's avatar
qinsoon committed
35

qinsoon's avatar
qinsoon committed
36
[dependencies]
37 38
mu_ast = {path = "src/ast"}
mu_utils = {path = "src/utils"}
39
#mu_gc = {path = "src/gc"}
40
rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", branch = "new", version = "^0.1.13" }
41
#rodal = { path = "./rodal", version = "*" }
42

43 44 45 46 47 48
libc="*"
field-offset = "*"
libloading = "*"
lazy_static = "*"
log = "*"
stderrlog = "*"
49
num = "*"
50 51
hprof = "*"
memmap = "*"
52
memsec = "0.1.9"
53 54 55 56 57 58
serde = "*"
serde_derive = "*"
time = "*"
maplit = "*"
docopt = "*"
petgraph = "*"
59 60
extprim = "*"
num-traits = "*"
61 62
#built = "0.1"

63
[target.aarch64-unknown-linux-gnu.dependencies]
qinsoon's avatar
qinsoon committed
64
mu_gc = { path = "src/gc"}
65 66
built = "0.1"

67
[target.x86_64-unknown-linux-gnu.dependencies]
qinsoon's avatar
qinsoon committed
68
mu_gc = { path = "src/gc"}
69 70 71
built = "0.1"

[target.x86_64-apple-darwin.dependencies]
qinsoon's avatar
qinsoon committed
72
mu_gc = { path = "src/gc"}
73 74 75
built = "0.1"

[target.x86_64-rumprun-netbsd.dependencies]
76
mu_gc = { path = "src/gc", features = ["sel4-rumprun-target-side"], target = "x86_64-rumprun-netbsd"}
77

78 79 80
[target.aarch64-unknown-linux-gnu.build-dependencies]
built = "0.1"

81 82 83 84
[target.x86_64-unknown-linux-gnu.build-dependencies]
built = "0.1"

[target.x86_64-apple-darwin.build-dependencies]
85
built = "0.1"