diff options
author | Justin Yun <justinyun@google.com> | 2021-05-27 21:27:52 +0900 |
---|---|---|
committer | Bill Peckham <bpeckham@google.com> | 2021-05-27 08:26:56 -0700 |
commit | 60a5dfcacf4b15bb41765bdcd706eff13ac9be55 (patch) | |
tree | 0fc12305f8be40ab3cda607eb040bde024453885 /rust/snapshot_utils.go | |
parent | 3557cc817047fd2755841261c0dd6ed3420677ae (diff) |
Fix ExcludeFromVendorSnapshot check
ExcludeFromVendorSnapshot() must return true if the module must not
be snapshotted and built from the vendor source tree.
The default value must be false because rust modules are provided by
the system source tree.
Bug: 184042776
Bug: 189372652
Test: m nothing
Change-Id: I267c3a5674bea966d1dd831cda73538ae94cf25f
(cherry picked from commit 9e13187f6b733f689f9552aa3ca8eb329140f427)
Diffstat (limited to 'rust/snapshot_utils.go')
-rw-r--r-- | rust/snapshot_utils.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/snapshot_utils.go b/rust/snapshot_utils.go index e0ed1f711..943c79098 100644 --- a/rust/snapshot_utils.go +++ b/rust/snapshot_utils.go @@ -20,12 +20,12 @@ import ( func (mod *Module) ExcludeFromVendorSnapshot() bool { // TODO Rust does not yet support snapshotting - return true + return false } func (mod *Module) ExcludeFromRecoverySnapshot() bool { // TODO Rust does not yet support snapshotting - return true + return false } func (mod *Module) IsSnapshotLibrary() bool { |