summaryrefslogtreecommitdiff
path: root/rust/binary.go
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2021-03-19 15:06:02 -0700
committerDan Albert <danalbert@google.com>2021-04-16 13:38:01 -0700
commit06feee9352b80ebd2a2a3f186ac746f5d1d7026e (patch)
tree969542d073006c9def63f99c1b618f53c71102b5 /rust/binary.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/binary.go')
-rw-r--r--rust/binary.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/binary.go b/rust/binary.go
index dfe8744a1..ffc0413ec 100644
--- a/rust/binary.go
+++ b/rust/binary.go
@@ -122,7 +122,7 @@ func (binary *binaryDecorator) compile(ctx ModuleContext, flags Flags, deps Path
flags.LinkFlags = append(flags.LinkFlags, deps.depLinkFlags...)
flags.LinkFlags = append(flags.LinkFlags, deps.linkObjects...)
- TransformSrcToBinary(ctx, srcPath, deps, flags, outputFile, deps.linkDirs)
+ TransformSrcToBinary(ctx, srcPath, deps, flags, outputFile)
if binary.stripper.NeedsStrip(ctx) {
strippedOutputFile := android.PathForModuleOut(ctx, "stripped", fileName)