diff options
author | 2021-11-01 09:19:45 -0400 | |
---|---|---|
committer | 2021-11-01 14:57:44 -0400 | |
commit | 21fa0a58444cd2928cbdcade9a088d5d71db03c2 (patch) | |
tree | 870ec355b2fbe506d263b012cda40d273a1b7669 /python/binary.go | |
parent | fdadcd793755d84ddf8251537e8ec8b9c9cfff31 (diff) |
rust: Add common interface for binaries
Structs embedding binaryDecorator (rust_test, rust_benchmark, rust_fuzz)
are binaries as well, but won't pass checks against *binaryDecorator,
such as the check in StaticExecutable().
Add a binaryInterface that can be checked instead to simplify these
checks and ensure we catch all binaries.
Bug: 170672854
Test: rust_test, rust_benchmark return true StaticallyLinked
Change-Id: I2373d3663373a6977260785602a02d39a41320fe
Diffstat (limited to 'python/binary.go')
0 files changed, 0 insertions, 0 deletions