Skip to content

Commit

Permalink
Merge pull request #831 from nextstrain/chore/faster-debug-build
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov authored Jun 1, 2022
2 parents a6de7ba + 4ce81cf commit c4ce28e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@
frequency = 'always'

[profile.dev]
codegen-units = 32
codegen-units = 4096
incremental = true
lto = "off"
opt-level = 1

# Optimize dependencies even in debug mode
[profile.dev.package."*"]
opt-level = 2
[profile.dev.package.backtrace]
opt-level = 3
[profile.dev.package.color-spantrace]
opt-level = 3
[profile.dev.package.tracing]
opt-level = 3
[profile.dev.package.tracing-error]
opt-level = 3
[profile.dev.package.tracing-subscriber]
opt-level = 3

[profile.release]
codegen-units = 1
Expand Down

1 comment on commit c4ce28e

@vercel
Copy link

@vercel vercel bot commented on c4ce28e Jun 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextclade – ./

nextclade-git-master-nextstrain.vercel.app
nextclade-nextstrain.vercel.app
nextclade.vercel.app

Please sign in to comment.