summaryrefslogtreecommitdiff
path: root/rust/test.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2021-11-01 10:27:54 -0400
committer Ivan Lozano <ivanlozano@google.com> 2021-11-04 10:51:54 -0400
commit62cd0388eb846f5b1dbcc7a1f3d71ae8a823e579 (patch)
treea84699a1802fef3e158abe21b5361d72e60bda5d /rust/test.go
parent5482d6a991b896e0143dfeacbab6356c8e6f5b64 (diff)
rust: Support MTE memtag_heap sanitizer
This CL adds support for the MTE memtag_heap sanitizer. This is controlled via inclusion of an ELF note. Bug: 170672854 Test: Heap MTE-enabled Rust test binary triggers MTE Change-Id: I2619818785e86a94667d02b30d102c83456b7925
Diffstat (limited to 'rust/test.go')
-rw-r--r--rust/test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/test.go b/rust/test.go
index 56da509b5..bb877a9a5 100644
--- a/rust/test.go
+++ b/rust/test.go
@@ -196,3 +196,7 @@ func (test *testDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps {
return deps
}
+
+func (test *testDecorator) testBinary() bool {
+ return true
+}