diff options
Diffstat (limited to 'rust/builder.go')
-rw-r--r-- | rust/builder.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/builder.go b/rust/builder.go index f469f56f8..a1e17fc3f 100644 --- a/rust/builder.go +++ b/rust/builder.go @@ -170,6 +170,9 @@ func TransformSrctoRlib(ctx ModuleContext, mainSrc android.Path, deps PathDeps, return transformSrctoCrate(ctx, mainSrc, deps, flags, outputFile, getTransformProperties(ctx, "rlib")) } +// TransformRlibstoStaticlib is assumed to be called from the cc module, and +// thus needs to reconstruct the common set of flags which need to be passed +// to the rustc compiler. func TransformRlibstoStaticlib(ctx android.ModuleContext, mainSrc android.Path, deps []cc.RustRlibDep, outputFile android.WritablePath) android.Path { |