Skip to content

Commit

Permalink
fix: linker and stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Jan 29, 2024
1 parent de6487f commit 6ffc4fe
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,25 @@ edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[profiles.release]
strip = "debuginfo"

# Linker options
[target.x86_64-unknown-linux-gnu]
rustflags = [
"-C", "link-arg=-fuse-ld=lld",
]

[target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-fuse-ld=lld",
]

[target.aarch64-apple-darwin]
rustflags = [
"-C", "link-arg=-fuse-ld=lld",
]

[dependencies]
async-std = "1.12.0"
chrono = "0.4.31"
Expand Down

0 comments on commit 6ffc4fe

Please sign in to comment.