mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
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:
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user