From 6cd99e6ab45dce7b1a3b865bacf76ce54651bd07 Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Tue, 11 Feb 2020 08:24:25 -0500 Subject: Add Rust fuzzing support. Add a rust_fuzz module which builds a libfuzzer binary that enabes asan+sancov. This relies on the libfuzzer-sys crate. Bug: 147140513 Test: Local rust_fuzz example builds, fuzzes with asan+sancov. Change-Id: I57db3b8d25869791824ccfab768d13b0bb9d42fa --- rust/compiler.go | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/compiler.go') diff --git a/rust/compiler.go b/rust/compiler.go index bcea6cccc..2d9575c0e 100644 --- a/rust/compiler.go +++ b/rust/compiler.go @@ -146,6 +146,7 @@ type baseCompiler struct { relative string path android.InstallPath location installLocation + sanitize *sanitize coverageOutputZipFile android.OptionalPath distFile android.OptionalPath -- cgit v1.2.3-59-g8ed1b