Skip to content

Commit 4cbe6b6

Browse files
authored
Remove unused libbacktrace and gimli-symbolize features (#615)
1 parent eb68d01 commit 4cbe6b6

File tree

5 files changed

+3
-13
lines changed

5 files changed

+3
-13
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ jobs:
7373
env:
7474
CARGO_PROFILE_DEV_SPLIT_DEBUGINFO: packed
7575
CARGO_PROFILE_TEST_SPLIT_DEBUGINFO: packed
76-
- run: cargo test --features gimli-symbolize --manifest-path crates/without_debuginfo/Cargo.toml
77-
- run: cargo test --manifest-path crates/line-tables-only/Cargo.toml --features gimli-symbolize
76+
- run: cargo test --manifest-path crates/without_debuginfo/Cargo.toml
77+
- run: cargo test --manifest-path crates/line-tables-only/Cargo.toml
7878

7979
# Test debuginfo compression still works
8080
- run: cargo test

Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ coresymbolication = []
7979
dbghelp = []
8080
dl_iterate_phdr = []
8181
dladdr = []
82-
gimli-symbolize = []
8382
kernel32 = []
84-
libbacktrace = []
8583
libunwind = []
8684
unix-backtrace = []
8785
verify-winapi = [

crates/line-tables-only/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,3 @@ features = [
1515
'libunwind',
1616
'std',
1717
]
18-
19-
[features]
20-
libbacktrace = ['backtrace/libbacktrace']
21-
gimli-symbolize = ['backtrace/gimli-symbolize']

crates/without_debuginfo/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,3 @@ debug = false
1414

1515
[profile.test]
1616
debug = false
17-
18-
[features]
19-
libbacktrace = ['backtrace/libbacktrace']
20-
gimli-symbolize = ['backtrace/gimli-symbolize']

src/symbolize/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ cfg_if::cfg_if! {
453453
/// While this function is always available it doesn't actually do anything on
454454
/// most implementations. Libraries like dbghelp or libbacktrace do not provide
455455
/// facilities to deallocate state and manage the allocated memory. For now the
456-
/// `gimli-symbolize` feature of this crate is the only feature where this
456+
/// `std` feature of this crate is the only feature where this
457457
/// function has any effect.
458458
#[cfg(feature = "std")]
459459
pub fn clear_symbol_cache() {

0 commit comments

Comments
 (0)