We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf0777a commit 1151bedCopy full SHA for 1151bed
examples/hello-world/Cargo.toml
@@ -6,3 +6,7 @@ edition = "2018"
6
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
8
[dependencies]
9
+
10
+[profile.release-lto]
11
+inherits = "release"
12
+lto = true
examples/hello-world/setup.py
@@ -10,6 +10,7 @@
{"hello-world": "hello_world.hello-world"},
binding=Binding.Exec,
script=True,
13
+ args=["--profile", "release-lto"],
14
)
15
],
16
# rust extensions are not zip safe, just like C-extensions.
0 commit comments