Skip to content

Commit

Permalink
Merge pull request #34 from mopemope/build-opt
Browse files Browse the repository at this point in the history
add build options
  • Loading branch information
zbelial authored Apr 18, 2024
2 parents c172baa + a8cb87f commit 52e3aa5
Show file tree
Hide file tree
Showing 2 changed files with 9 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 = ["-Clink-arg=-fuse-ld=lld", "-Ctarget-cpu=native"]
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bytes = "1.0"
lazy_static = "1.4.0"

[profile.dev]
debug = 0

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

0 comments on commit 52e3aa5

Please sign in to comment.