summaryrefslogtreecommitdiff
path: root/rust/proc_macro.go
diff options
context:
space:
mode:
Diffstat (limited to 'rust/proc_macro.go')
-rw-r--r--rust/proc_macro.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/proc_macro.go b/rust/proc_macro.go
index 0c6ec9953..f753e7f43 100644
--- a/rust/proc_macro.go
+++ b/rust/proc_macro.go
@@ -51,6 +51,8 @@ func NewProcMacro(hod android.HostOrDeviceSupported) (*Module, *procMacroDecorat
flagExporter: NewFlagExporter(),
}
+ // Don't sanitize procMacros
+ module.sanitize = nil
module.compiler = procMacro
return module, procMacro