Improve rust build of the n-body example (#112)

This commit is contained in:
Max Graey 2018-05-14 18:49:39 +03:00 committed by Daniel Wirtz
parent 41289acf70
commit 25cf51833d
4 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,4 +3,3 @@ docs/
node_modules/ node_modules/
out/ out/
raw/ raw/
examples/n-body/rust/target/

Binary file not shown.

1
examples/n-body/rust/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
target/

View File

@ -6,3 +6,7 @@ authors = ["MaxGraey <maxgraey@gmail.com>"]
[lib] [lib]
path = "src/lib.rs" path = "src/lib.rs"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[profile.release]
lto = true
opt-level = 's'