We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad0b8e8 commit 0f49001Copy full SHA for 0f49001
src/il2cpp/reader.rs
@@ -43,6 +43,11 @@ impl std::fmt::Debug for Il2CppBackend {
43
}
44
45
46
+// Safety: ProcessHandle on Windows/Linux is safe to send between threads.
47
+// On macOS, MacOsMemoryReader uses mach ports which are also thread-safe.
48
+unsafe impl Send for Il2CppBackend {}
49
+unsafe impl Sync for Il2CppBackend {}
50
+
51
impl Il2CppBackend {
52
/// Create a new IL2CPP backend for the given process ID
53
pub fn new(pid: u32) -> Self {
0 commit comments