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 8751223 commit 0a151ddCopy full SHA for 0a151dd
crates/symbol-check/src/main.rs
@@ -37,6 +37,7 @@ fn main() {
37
#[derive(Clone, Debug)]
38
struct SymInfo {
39
name: String,
40
+ name_bytes: Vec<u8>, // TODO remove
41
kind: SymbolKind,
42
scope: SymbolScope,
43
section: SymbolSection,
@@ -53,6 +54,7 @@ impl SymInfo {
53
54
fn new(sym: &Symbol, member: &ArchiveMember) -> Self {
55
Self {
56
name: sym.name().expect("missing name").to_owned(),
57
+ name_bytes: sym.name_bytes().expect("name bytes").to_owned(),
58
kind: sym.kind(),
59
scope: sym.scope(),
60
section: sym.section(),
0 commit comments