Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize profile feature in cargo.toml #295

Closed
Dengjianping opened this issue Dec 7, 2021 · 0 comments · Fixed by #401
Closed

Utilize profile feature in cargo.toml #295

Dengjianping opened this issue Dec 7, 2021 · 0 comments · Fixed by #401
Assignees
Labels
A-calamari Area: Issues and PRs related to the Calamari Runtime A-manta Area: Issues and PRs related to the Manta Runtime C-enhancement Category: An issue proposing an enhancement or a PR with one
Milestone

Comments

@Dengjianping
Copy link
Contributor

Dengjianping commented Dec 7, 2021

After rust 1.57, we can separate profile into these parts:

[profile.release]
opt-level = 3

[profile.bench]
opt-level = 3
debug = false
lto = "thin"
incremental = true
debug-assertions = false

[profile.dev]
opt-level = 3

[profile.test]
opt-level = 3
debug = true

https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#profiles

@Dengjianping Dengjianping added A-manta Area: Issues and PRs related to the Manta Runtime A-calamari Area: Issues and PRs related to the Calamari Runtime labels Dec 7, 2021
@Dengjianping Dengjianping added this to the Future milestone Dec 7, 2021
@Dengjianping Dengjianping added the C-enhancement Category: An issue proposing an enhancement or a PR with one label Dec 7, 2021
@ghzlatarev ghzlatarev self-assigned this Dec 27, 2021
@ghzlatarev ghzlatarev assigned Dengjianping and unassigned ghzlatarev Jan 3, 2022
@Dengjianping Dengjianping modified the milestones: Future, v3.1.3 Jan 24, 2022
@Dengjianping Dengjianping modified the milestones: v3.1.3, Future Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-calamari Area: Issues and PRs related to the Calamari Runtime A-manta Area: Issues and PRs related to the Manta Runtime C-enhancement Category: An issue proposing an enhancement or a PR with one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants