GitLab will be upgraded on June 2nd 2020 at 2.00 pm (AEDT) to 3.00 pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to local Gitlab admin team.

Specified some crate versions to solve compile error on newer toolchains

parent fbfe7dba
# Copyright 2017 The Australian National University # Copyright 2017 The Australian National University
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
[package] [package]
name = "mu" name = "mu"
version = "0.0.1" version = "0.0.1"
authors = [ "Your name <you@example.com>" ] authors = [ "Your name <you@example.com>" ]
build = "build.rs" build = "build.rs"
[lib] [lib]
crate-type = ["staticlib", "rlib", "dylib"] crate-type = ["staticlib", "rlib", "dylib"]
doctest = false doctest = false
[features] [features]
default = ["aot"] default = ["aot"]
aot = [] aot = []
jit = [] jit = []
sel4-rumprun = [] sel4-rumprun = []
sel4-rumprun-target-side = [] sel4-rumprun-target-side = []
[build-dependencies] [build-dependencies]
gcc = "*" gcc = "*"
#built = "0.1" #built = "0.1"
[dependencies] [dependencies]
mu_ast = {path = "src/ast"} mu_ast = {path = "src/ast"}
mu_utils = {path = "src/utils"} mu_utils = {path = "src/utils"}
#mu_gc = {path = "src/gc"} #mu_gc = {path = "src/gc"}
rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", branch = "new", version = "^0.1.13" } rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", branch = "new", version = "^0.1.13" }
#rodal = { path = "./rodal", version = "*" } #rodal = { path = "./rodal", version = "*" }
libc="*" libc="*"
field-offset = "*" field-offset = "*"
libloading = "*" libloading = "*"
lazy_static = "*" lazy_static = "0.2.11"
log = "*" log = "0.3.8"
stderrlog = "*" stderrlog = "0.2.3"
num = "*" num = "*"
hprof = "*" hprof = "*"
memmap = "*" memmap = "*"
memsec = "0.1.9" memsec = "0.1.9"
serde = "*" serde = "*"
serde_derive = "*" serde_derive = "*"
time = "*" time = "*"
maplit = "*" maplit = "*"
docopt = "*" docopt = "0.8.1"
petgraph = "*" petgraph = "*"
extprim = "*" extprim = "*"
num-traits = "*" num-traits = "*"
#built = "0.1" #built = "0.1"
[target.aarch64-unknown-linux-gnu.dependencies] [target.aarch64-unknown-linux-gnu.dependencies]
mu_gc = { path = "src/gc"} mu_gc = { path = "src/gc"}
built = "0.1" built = "0.1"
[target.x86_64-unknown-linux-gnu.dependencies] [target.x86_64-unknown-linux-gnu.dependencies]
mu_gc = { path = "src/gc"} mu_gc = { path = "src/gc"}
built = "0.1" built = "0.1"
[target.x86_64-apple-darwin.dependencies] [target.x86_64-apple-darwin.dependencies]
mu_gc = { path = "src/gc"} mu_gc = { path = "src/gc"}
built = "0.1" built = "0.1"
[target.x86_64-rumprun-netbsd.dependencies] [target.x86_64-rumprun-netbsd.dependencies]
mu_gc = { path = "src/gc", features = ["sel4-rumprun-target-side"], target = "x86_64-rumprun-netbsd"} mu_gc = { path = "src/gc", features = ["sel4-rumprun-target-side"], target = "x86_64-rumprun-netbsd"}
[target.aarch64-unknown-linux-gnu.build-dependencies] [target.aarch64-unknown-linux-gnu.build-dependencies]
built = "0.1" built = "0.1"
[target.x86_64-unknown-linux-gnu.build-dependencies] [target.x86_64-unknown-linux-gnu.build-dependencies]
built = "0.1" built = "0.1"
[target.x86_64-apple-darwin.build-dependencies] [target.x86_64-apple-darwin.build-dependencies]
built = "0.1" built = "0.1"
...@@ -22,9 +22,9 @@ crate-type = ["rlib"] ...@@ -22,9 +22,9 @@ crate-type = ["rlib"]
[dependencies] [dependencies]
mu_utils = {path = "../utils"} mu_utils = {path = "../utils"}
lazy_static = "*" lazy_static = "0.2.11"
log = "*" log = "*"
simple_logger = "*" simple_logger = "*"
regex = "*" regex = "0.2.2"
rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", branch = "new", version = "^0.1.13" } rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", branch = "new", version = "^0.1.13" }
#rodal = { path = "../../rodal", version = "*" } #rodal = { path = "../../rodal", version = "*" }
...@@ -32,11 +32,11 @@ gcc = "*" ...@@ -32,11 +32,11 @@ gcc = "*"
[dependencies] [dependencies]
mu_utils = {path = "../utils"} mu_utils = {path = "../utils"}
time = "*" time = "*"
lazy_static = "*" lazy_static = "0.2.11"
log = "*" log = "*"
stderrlog = "*" stderrlog = "*"
aligned_alloc = "*" aligned_alloc = "*"
crossbeam = "*" crossbeam = "0.3.0"
field-offset = "*" field-offset = "*"
rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", branch = "new", version = "^0.1.13" } rodal = { git = "https://gitlab.anu.edu.au/mu/rodal", branch = "new", version = "^0.1.13" }
#rodal = { path = "../../rodal", version = "*" } #rodal = { path = "../../rodal", version = "*" }
...@@ -26,7 +26,7 @@ use objectmodel::sidemap::object_encode::SMALL_ID_WIDTH; ...@@ -26,7 +26,7 @@ use objectmodel::sidemap::object_encode::SMALL_ID_WIDTH;
/// represents a chunk of memory as global type table, which contains some metadata for the /// represents a chunk of memory as global type table, which contains some metadata for the
/// type table and all the type encoding entries. /// type table and all the type encoding entries.
#[repr(C, packed)] #[repr(C)]
pub struct GlobalTypeTable { pub struct GlobalTypeTable {
/// current index for small entries /// current index for small entries
small_entry_i: usize, small_entry_i: usize,
......
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