Skip to content

Commit

Permalink
Smaller binary using LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Apr 18, 2023
1 parent faf314b commit 11116f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ members = [
[patch.crates-io]
ya-runtime-sdk = { git = "https://github.com/golemfactory/ya-runtime-sdk.git", rev = "f542b9219f163a52b9783c2c8c42e3da6dd3eb39" }
ya-runtime-api = { git = "https://github.com/golemfactory/yagna.git", rev = "2222cadeed58ecc44295092fcb0bc9ffba8a3722"}

[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
panic ="abort"
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ya-runtime-vm"
version = "0.3.3"
version = "0.3.4"
authors = ["Golem Factory <[email protected]>"]
edition = "2021"
license = "GPL-3.0"
Expand Down

0 comments on commit 11116f0

Please sign in to comment.