Skip to content

Commit cbb1805

Browse files
committed
replace ms-detours with fspy_detours_sys
1 parent 2d8d6e6 commit cbb1805

12 files changed

Lines changed: 151 additions & 114 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ directories = "6.0.0"
4949
edit = "0.1.5"
5050
flate2 = "1.0.35"
5151
fspy = { path = "crates/fspy" }
52+
fspy_detours_sys = { path = "crates/fspy_detours_sys" }
5253
fspy_preload_unix = { path = "crates/fspy_preload_unix", artifact = "cdylib" }
5354
fspy_preload_windows = { path = "crates/fspy_preload_windows", artifact = "cdylib" }
5455
fspy_seccomp_unotify = { path = "crates/fspy_seccomp_unotify" }

crates/fspy/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ const_format = { version = "0.2.34", features = ["fmt"] }
5151

5252

5353
[target.'cfg(target_os = "windows")'.dependencies]
54-
ms-detours = "4.0.5"
5554
winsafe = { version = "0.0.24", features = ["kernel"] }
5655
winapi = { workspace = true, features = [
5756
"winbase",

crates/fspy_detours_sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
fn main() {
2+
println!("cargo:rerun-if-changed=detours/src");
23
// https://github.com/Berrysoft/detours/blob/c9bc2ad6e9cd8f5f7b74cfa65365d61ecc45203f/detours-sys/build.rs
34
cc::Build::new()
45
.include("detours/src")

0 commit comments

Comments
 (0)