diff options
Diffstat (limited to 'rust/binary.go')
-rw-r--r-- | rust/binary.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rust/binary.go b/rust/binary.go index 1e24bebab..1408ff17b 100644 --- a/rust/binary.go +++ b/rust/binary.go @@ -15,9 +15,10 @@ package rust import ( + "fmt" + "android/soong/android" "android/soong/bazel" - "fmt" ) func init() { @@ -199,7 +200,7 @@ type rustBinaryLibraryAttributes struct { Rustc_flags bazel.StringListAttribute } -func binaryBp2build(ctx android.TopDownMutatorContext, m *Module) { +func binaryBp2build(ctx android.Bp2buildMutatorContext, m *Module) { binary := m.compiler.(*binaryDecorator) var srcs bazel.LabelList |