Skip to content

Commit

Permalink
[Temporary] Enable debug symbols on release build
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmondal committed Feb 6, 2025
1 parent dcba3f5 commit df2a1b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ rust-version = "1.84.0"
[profile.release]
lto = true
opt-level = 3
debug = true
strip = false

[profile.dev]
lto = false
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
(craneLibFor p).buildPackage ((commonArgsFor p)
// {
cargoArtifacts = cargoArtifactsFor p;
dontStrip = true;
});

nativeTargetPkgs =
Expand Down

0 comments on commit df2a1b5

Please sign in to comment.