Rename examples directory to example to prevent rls trying to compile its content

This commit is contained in:
bjorn3 2018-09-22 12:15:56 +02:00
parent 663533fec3
commit f127042639
4 changed files with 4 additions and 4 deletions

View File

@ -59,15 +59,15 @@ rm -r target/out || true
mkdir -p target/out/clif
echo "[BUILD] mini_core"
build_lib mini_core examples/mini_core.rs
build_lib mini_core example/mini_core.rs
$RUSTC examples/example.rs --crate-type lib
$RUSTC example/example.rs --crate-type lib
echo "[JIT] mini_core_hello_world"
run_bin examples/mini_core_hello_world.rs --cfg jit
run_bin example/mini_core_hello_world.rs --cfg jit
echo "[AOT] mini_core_hello_world"
build_example_bin mini_core_hello_world examples/mini_core_hello_world.rs
build_example_bin mini_core_hello_world example/mini_core_hello_world.rs
echo "[BUILD] core"
time $RUSTC target/libcore/src/libcore/lib.rs --crate-type lib --crate-name core -Cincremental=target/incremental_core