diff options
Diffstat (limited to 'rust/sanitize.go')
-rw-r--r-- | rust/sanitize.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/sanitize.go b/rust/sanitize.go index 0b1043597..9dda43fd6 100644 --- a/rust/sanitize.go +++ b/rust/sanitize.go @@ -270,7 +270,7 @@ func rustSanitizerRuntimeMutator(mctx android.BottomUpMutatorContext) { } // If we're using snapshots, redirect to snapshot whenever possible // TODO(b/178470649): clean manual snapshot redirections - snapshot := mctx.Provider(cc.SnapshotInfoProvider).(cc.SnapshotInfo) + snapshot, _ := android.ModuleProvider(mctx, cc.SnapshotInfoProvider) if lib, ok := snapshot.StaticLibs[noteDep]; ok { noteDep = lib } |