Skip to content

Commit

Permalink
Improve rust build of the n-body example (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGraey authored and dcodeIO committed May 14, 2018
1 parent 41289ac commit 25cf518
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ docs/
node_modules/
out/
raw/
examples/n-body/rust/target/
Binary file added examples/n-body/build/rust.optimized.wasm
Binary file not shown.
1 change: 1 addition & 0 deletions examples/n-body/rust/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/
4 changes: 4 additions & 0 deletions examples/n-body/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ authors = ["MaxGraey <maxgraey@gmail.com>"]
[lib]
path = "src/lib.rs"
crate-type = ["cdylib"]

[profile.release]
lto = true
opt-level = 's'

0 comments on commit 25cf518

Please sign in to comment.