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