1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-05-12 23:37:25 +00:00

Improve rust build of the n-body example ()

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

@ -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

@ -0,0 +1 @@
target/

@ -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'