Skip to content

Commit c3db4c1

Browse files
committed
Address review comments
1 parent cbc0bce commit c3db4c1

File tree

5 files changed

+151
-113
lines changed

5 files changed

+151
-113
lines changed

crates/rrg/src/action.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ pub mod query_wmi;
6060
#[cfg(feature = "action-execute_signed_command")]
6161
pub mod execute_signed_command;
6262

63-
// Currently only supported on Linux
64-
#[cfg(all(target_os = "linux", feature = "action-dump_process_memory"))]
63+
#[cfg(feature = "action-dump_process_memory")]
6564
pub mod dump_process_memory;
6665

6766
use log::info;
@@ -150,7 +149,7 @@ where
150149
ExecuteSignedCommand => {
151150
handle(session, request, self::execute_signed_command::handle)
152151
}
153-
#[cfg(all(target_os = "linux", feature = "action-dump_process_memory"))]
152+
#[cfg(feature = "action-dump_process_memory")]
154153
DumpProcessMemory => {
155154
handle(session, request, self::dump_process_memory::handle)
156155
}

0 commit comments

Comments
 (0)