mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 15:12:12 +00:00
Improve rust build of the n-body example (#112)
This commit is contained in:
parent
41289acf70
commit
25cf51833d
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,4 +3,3 @@ docs/
|
|||||||
node_modules/
|
node_modules/
|
||||||
out/
|
out/
|
||||||
raw/
|
raw/
|
||||||
examples/n-body/rust/target/
|
|
||||||
|
BIN
examples/n-body/build/rust.optimized.wasm
Normal file
BIN
examples/n-body/build/rust.optimized.wasm
Normal file
Binary file not shown.
1
examples/n-body/rust/.gitignore
vendored
Normal file
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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user