Commit 3c62eb99 authored by qinsoon's avatar qinsoon

cargo generate staticlib, also test CI build email

parent 7e244053
......@@ -5,8 +5,7 @@ authors = [ "Your name <you@example.com>" ]
build = "build.rs"
[lib]
# crate-type = ["staticlib", "rlib", "dylib"]
crate-type = ["rlib", "dylib"]
crate-type = ["staticlib", "rlib", "dylib"]
doctest = false
[features]
......
......@@ -64,9 +64,10 @@ echo "KERNEL: $KERNEL"
echo "ARCH: $MACH"
echo "---------"
rm emit/*
rm -rf emit/*
if [ "$OS" == "linux" ]; then
rm -rf target/*
RUSTFLAGS=-Zincremental=target/incr-cache RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang-3.8 cargo test "$@"
elif [ "$OS" == "Darwin" ]; then
RUSTFLAGS=-Zincremental=target/incr-cache RUST_BACKTRACE=1 RUST_TEST_THREADS=1 cargo test "$@"
......
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