Commit 6222f70
committed
Remove libbacktrace implementation
This commit removes the `backtrace-sys` crate and the libbacktrace
implementation of this crate. For quite some time now the
`gimli-symbolize` feture has been on-by-default. While `libbacktrace`
has been an option all relevant features should have been implemented in
`gimli-symbolize` by now.
The libbacktrace implementation has always been approached with wariness
where it may segfault or cause worse behavior when fed bad debug
information. Debug information is possible to change at runtime, so
libbacktrace has always been a risk for Rust binaries. Additionally
libbacktrace development was very quite for a very long time and our
patches upstream were generally met with silence. Development seems to
have picked back up upstream but with this crate now switched to gimli
I'm not too personally motivated to check to see if all our fixes have
landed. In general, though, libbacktrace upstream always worked best
with Linux and other platforms were more "best-effort". Additionally
gimli now has more features for supporting compressed and
split-debuginfo as well.
This commit comes about to reduce the maintenance burden on this crate.
Recent changes in rust-lang/rust have actually broken libbacktrace
testing. This appears fixed with sync'ing to the upstream repository of
libbacktrace, but it seems like now's the right time to go ahead and
remove the crate.1 parent fbb9fc1 commit 6222f70
File tree
11 files changed
+7
-769
lines changed- .github/workflows
- crates/backtrace-sys
- src
- src/symbolize
11 files changed
+7
-769
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 55 | | |
64 | 56 | | |
65 | 57 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 58 | | |
70 | 59 | | |
71 | 60 | | |
72 | 61 | | |
73 | 62 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 63 | | |
80 | 64 | | |
81 | 65 | | |
82 | | - | |
83 | 66 | | |
84 | | - | |
85 | 67 | | |
86 | 68 | | |
87 | | - | |
| 69 | + | |
88 | 70 | | |
89 | 71 | | |
90 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 65 | | |
82 | 66 | | |
83 | 67 | | |
| |||
91 | 75 | | |
92 | 76 | | |
93 | 77 | | |
| 78 | + | |
94 | 79 | | |
| 80 | + | |
95 | 81 | | |
96 | | - | |
| 82 | + | |
97 | 83 | | |
98 | | - | |
| 84 | + | |
99 | 85 | | |
100 | 86 | | |
101 | 87 | | |
| |||
132 | 118 | | |
133 | 119 | | |
134 | 120 | | |
135 | | - | |
| 121 | + | |
136 | 122 | | |
137 | 123 | | |
138 | 124 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Submodule libbacktrace deleted from 5c88e09
0 commit comments