Skip to content

Commit 8487bef

Browse files
committed
Attempt to get wasm to build
1 parent 5cf0553 commit 8487bef

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

Cargo.lock

Lines changed: 17 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

objdiff-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ rabbitizer = { version = "2.0.0-alpha.4", default-features = false, features = [
162162
cpp_demangle = { version = "0.4", default-features = false, features = ["alloc"], optional = true }
163163
iced-x86 = { version = "1.21", default-features = false, features = ["decoder", "intel", "gas", "masm", "nasm", "exhaustive_enums", "no_std"], optional = true }
164164
msvc-demangler = { version = "0.11", optional = true }
165-
windows-sys = { version = "0.59", features = ["Win32_System_Diagnostics_Debug"] }
166165

167166
# arm
168167
unarm = { version = "1.9", optional = true }
@@ -182,6 +181,7 @@ encoding_rs = { version = "0.8.35", optional = true }
182181

183182
[target.'cfg(windows)'.dependencies]
184183
winapi = { version = "0.3", optional = true, features = ["winbase"] }
184+
windows-sys = { version = "0.61", optional = true, features = ["Win32_System_Diagnostics_Debug"] }
185185

186186
# For Linux static binaries, use rustls
187187
[target.'cfg(target_os = "linux")'.dependencies]

objdiff-core/src/arch/x86.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ impl Arch for ArchX86 {
307307
#[cfg(target_os = "windows")]
308308
{
309309
use std::ffi::{CStr, CString};
310+
310311
use windows_sys::Win32::System::Diagnostics::Debug::UnDecorateSymbolName;
311312

312313
let cstr = CString::new(name).ok()?;

0 commit comments

Comments
 (0)