Skip to content

Commit

Permalink
perf: cargo-wizard default recommendations for runtime perf
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin1887 committed Mar 23, 2024
1 parent c735de1 commit 92aa151
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
rustflags = ["-Ctarget-cpu=native"]
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[workspace]
members = ["pulldown-cmark", "pulldown-cmark-escape"]
resolver = "2"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"

0 comments on commit 92aa151

Please sign in to comment.