Skip to content

Commit

Permalink
Set force-frame-pointers=yes on arm linux (#557)
Browse files Browse the repository at this point in the history
To enable Parca - parca-dev/parca-agent#1805
  • Loading branch information
jackkleeman committed Jul 6, 2023
1 parent fc35ad5 commit d7ca3fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ rustflags = [
"-C" , "debug-assertions", # Enable debug assertions in release builds to have more safeguards in place
"--cfg", "uuid_unstable", # Enable unstable Uuid
"--cfg", "tokio_unstable", # Enable unstable tokio
]
]

[target.aarch64-unknown-linux-gnu]
rustflags = [
"-C" , "force-frame-pointers=yes", # Enable frame pointers to support Parca (https://github.com/parca-dev/parca-agent/pull/1805)
]

0 comments on commit d7ca3fe

Please sign in to comment.