Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Make dev profile faster by compiling deps with opt-level=3 #6228

Merged
merged 5 commits into from
Jun 3, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More comment
  • Loading branch information
tomaka committed Jun 3, 2020
commit b6b77592f49ae330e0e2a36c4453f359309923c2
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,15 @@ members = [
# these dependencies with `opt-level=3` even in "dev" mode in order to make "dev" mode more
# usable.
#
# Note that this does **not** affect crates that depend on Substrate. In other words, if you add
# a dependency on Substrate, you have to copy-paste this list in your own `Cargo.toml` (assuming
# that you want the same list). This list is only relevant when running `cargo build` from within
# the Substrate workspace.
#
# If you see an error mentioning "profile package spec ... did not match any packages", it
# probably concerns this list.
#
# Note: this list is ordered alphabetically.
# This list is ordered alphabetically.
[profile.dev.package.aes-ctr]
opt-level = 3
[profile.dev.package.aes-soft]
Expand Down