Replace `rust build` by `rustc`.
This commit is contained in:
parent
20bdbb6408
commit
86d6ff759c
6
Makefile
6
Makefile
|
@ -3,12 +3,12 @@ nalgebra_lib_path=lib
|
|||
nalgebra_doc_path=doc
|
||||
all:
|
||||
mkdir -p $(nalgebra_lib_path)
|
||||
rust build src/lib.rs --out-dir $(nalgebra_lib_path) --opt-level 3
|
||||
rustc src/lib.rs --out-dir $(nalgebra_lib_path) --opt-level 3
|
||||
|
||||
test:
|
||||
mkdir -p $(nalgebra_lib_path)
|
||||
rust test src/lib.rs
|
||||
rm libtest~
|
||||
rustc --test src/lib.rs --opt-level 3 -o test~ && ./test~
|
||||
rm test~
|
||||
|
||||
bench:
|
||||
rustc --test src/lib.rs --opt-level 3 -o bench~ && ./bench~ --bench
|
||||
|
|
Loading…
Reference in New Issue