We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d03f8bd commit e7adb6fCopy full SHA for e7adb6f
1 file changed
crates/runner-shared/src/unwind_data.rs
@@ -5,7 +5,8 @@ use core::{
5
use serde::{Deserialize, Serialize};
6
use std::{hash::DefaultHasher, ops::Range};
7
8
-pub const UNWIND_FILE_EXT: &str = "unwind.bin";
+pub const UNWIND_FILE_EXT1: &str = "bin";
9
+pub const UNWIND_FILE_EXT2: &str = "unwind";
10
11
pub type UnwindData = UnwindDataV2;
12
@@ -21,7 +22,7 @@ impl UnwindData {
21
22
23
pub fn save_to<P: AsRef<std::path::Path>>(&self, folder: P, pid: i32) -> anyhow::Result<()> {
24
let unwind_data_path = folder.as_ref().join(format!(
- "{}_{:x}_{:x}_{}.{UNWIND_FILE_EXT}",
25
+ "{}_{:x}_{:x}_{}.{UNWIND_FILE_EXT2}.{UNWIND_FILE_EXT1}",
26
pid,
27
self.avma_range.start,
28
self.avma_range.end,
0 commit comments