summaryrefslogtreecommitdiff
path: root/rust/proc_macro.go
diff options
context:
space:
mode:
author Dan Albert <danalbert@google.com> 2021-03-19 15:06:02 -0700
committer Dan Albert <danalbert@google.com> 2021-04-16 13:38:01 -0700
commit06feee9352b80ebd2a2a3f186ac746f5d1d7026e (patch)
tree969542d073006c9def63f99c1b618f53c71102b5 /rust/proc_macro.go
parent744fb40e5fce2243c4635a315fca363d845b640c (diff)
Rustdoc support.
Adds `m rustdoc` which generates documentation for all Rust libraries to $OUT_DIR/soong/rustdoc. Follow up work: * Generate an index page that lists all modules. * Preserve the artifacts so we can have an always-up-to-date go link. Test: m rustdoc Bug: None Change-Id: Id2d6b9cbab5b02e36b575567563d7cc7606b9401
Diffstat (limited to 'rust/proc_macro.go')
-rw-r--r--rust/proc_macro.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/proc_macro.go b/rust/proc_macro.go
index 115045ac6..4eead3267 100644
--- a/rust/proc_macro.go
+++ b/rust/proc_macro.go
@@ -68,7 +68,7 @@ func (procMacro *procMacroDecorator) compile(ctx ModuleContext, flags Flags, dep
outputFile := android.PathForModuleOut(ctx, fileName)
srcPath, _ := srcPathFromModuleSrcs(ctx, procMacro.baseCompiler.Properties.Srcs)
- TransformSrctoProcMacro(ctx, srcPath, deps, flags, outputFile, deps.linkDirs)
+ TransformSrctoProcMacro(ctx, srcPath, deps, flags, outputFile)
return outputFile
}