Split executable semantics fuzzer into cc_binary and cc_test

This is a workaround for #1208, allowing to remove manual tag to allow building and testing fuzzer code during precommits and in bazel test ...

Tested:
bazel test -k ...
bazel build -c opt executable_semantics/fuzzing:executable_semantics_fuzzer
bazel-bin/executable_semantics/fuzzing/executable_semantics_fuzzer
This commit is contained in:
pk19604014 authored and GitHub committed 2022-04-25 15:35:12 -04:00
1 parent 9356a847d7
commit 0b4e9b5ecb
6 files changed
+104 -42

No files matched your search

@@ -14,6 +14,9 @@ namespace Carbon {
auto ProtoToCarbonWithMain(const Fuzzing::CompilationUnit& compilation_unit)
-> std::string;
// Parses and executes a fuzzer-generated program.
void ParseAndExecute(const Fuzzing::CompilationUnit& compilation_unit);
} // namespace Carbon
#endif // EXECUTABLE_SEMANTICS_FUZZING_FUZZER_UTIL_H_