Skip to content

Commit 9d613d3

Browse files
committed
Fix objdiff-wasm compilation errors
1 parent cc25cc6 commit 9d613d3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

objdiff-core/src/arch/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ pub trait Arch: Send + Sync + Debug {
220220
_relocations: &[Relocation],
221221
_symbols: &[Symbol],
222222
) -> Vec<Relocation> {
223-
vec![]
223+
Vec::new()
224224
}
225225

226226
fn implcit_addend(

objdiff-core/src/arch/ppc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
use alloc::{
2-
collections::BTreeMap,
2+
collections::{BTreeMap, BTreeSet},
33
string::{String, ToString},
44
vec,
55
vec::Vec,
66
};
7-
use std::collections::BTreeSet;
87

98
use anyhow::{bail, ensure, Result};
109
use cwextab::{decode_extab, ExceptionTableData};

0 commit comments

Comments
 (0)