dep-protobuf/python/google/protobuf/link_error_pure_python.cc
Jie Luo a2cc9f7b62 internal change
PiperOrigin-RevId: 619038132
2024-03-25 20:02:03 -07:00

24 lines
547 B
C++

// go/fastpythonproto
namespace google {
namespace protobuf {
namespace python {
// This exists solely to cause a build/link time error when more than one of
// :use_upb_protos, :use_fast_cpp_protos and :use_pure_python are specified
// in a build.;
extern "C" {
// MUST match link_error_pure_python.cc's function signature.
__attribute__((noinline)) __attribute__((optnone)) int
go_SLASH_build_deps_on_multiple_python_proto_backends() {
return 0;
}
} // extern "C"
} // namespace python
} // namespace protobuf
} // namespace google