Skip to content

Commit

Permalink
Enable rpath for dev and release profiles in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Aug 5, 2024
1 parent d9c261f commit 2389d39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ crate-type = ["cdylib", "staticlib"]
[dependencies]
bat = "0.24"

[profile.dev]
rpath = true

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

0 comments on commit 2389d39

Please sign in to comment.