We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53cc4fc commit 7d75a04Copy full SHA for 7d75a04
src/symbolize/gimli/elf.rs
@@ -335,8 +335,8 @@ fn debug_path_exists() -> bool {
335
/// The format of build id paths is documented at:
336
/// https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
337
fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> {
338
- const BUILD_ID_PATH: &[u8] = b"/usr/lib/debug/.build-id/";
339
- const BUILD_ID_SUFFIX: &[u8] = b".debug";
+ const BUILD_ID_PATH: &str = "/usr/lib/debug/.build-id/";
+ const BUILD_ID_SUFFIX: &str = ".debug";
340
341
if build_id.len() < 2 {
342
return None;
0 commit comments