summary refs log tree commit diff
path: root/ripple
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2022-07-27 03:40:49 +0000
committeredef <edef@unfathomable.blue>2022-07-27 03:40:49 +0000
commit528da0264c80ac03e4c823fa3503ba2cdf01a4f7 (patch)
tree8ac7c5f4332298f0c2bb0fe0ec4ca9c105e29a65 /ripple
parent8fbe6ee6febf3991f95a8e0c9c27ae4f024d27af (diff)
downloadunf-legacy-528da0264c80ac03e4c823fa3503ba2cdf01a4f7.tar.zst
ripple/minitrace: disable dead_code lint on SyscallArgs
Every single syscall arg producing a warning is just noisy.

Change-Id: I339260886110e2982217ebbf9d29cb1cf91c747c
Diffstat (limited to 'ripple')
-rw-r--r--ripple/minitrace/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs
index 3f27b16..cd0c004 100644
--- a/ripple/minitrace/src/main.rs
+++ b/ripple/minitrace/src/main.rs
@@ -99,6 +99,8 @@ macro_rules! define_syscalls {
 	}) => {
 		#[derive(Debug, Copy, Clone)]
 		#[allow(non_camel_case_types)]
+		// TODO(edef): re-enable dead_code lint when we start fully interpreting syscall args
+		#[allow(dead_code)]
 		enum $enum {
 			$($id {
 				$($arg_id : $arg_ty),*