Commit 7c03955f authored by Yi Lin's avatar Yi Lin

Merge branch 'shell-ci-2' into 'develop'

use shell executor for CI

See merge request !22
parents 0239714a 4c654555
image: "qinsoon/ubuntu-zebu-test:latest"
stages:
- build
- test
- rustfmt
before_script:
- export PATH=$PATH:/root/.cargo/bin
- export MU_ZEBU=$CI_PROJECT_DIR
- export ZEBU_BUILD=release
- export CARGO_HOME=.cargo
- export CC=clang
- source /home/gitlab-runner/ci/bin/activate
build:
stage: build
......@@ -117,4 +115,4 @@ testjit:som:
rustfmt:
stage: rustfmt
script:
- rustup run nightly cargo fmt -- --write-mode=diff src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs --verbose
- CARGO_HOME=/home/gitlab-runner/.cargo rustup run nightly-2017-07-19 cargo fmt -- --write-mode=diff src/ast/src/lib.rs src/gc/src/lib.rs src/utils/src/lib.rs --verbose
......@@ -138,8 +138,12 @@ impl HeapDump {
let field_addr = base + *offset;
let edge = unsafe { field_addr.load::<Address>() };
trace!("object reference from {} -> {} at +[{}]", base,
edge, offset);
trace!(
"object reference from {} -> {} at +[{}]",
base,
edge,
offset
);
if !edge.is_zero() && !self.objects.contains_key(&edge) {
work_queue.push(edge);
......
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