Correct rust include references in Rust-C++ gencode in OSS.

PiperOrigin-RevId: 676510445
pull/18416/head
Protobuf Team Bot 2 months ago committed by Copybara-Service
parent 5c3d1e8c30
commit 1c35963010
  1. 6
      rust/test/shared/utf8/utf8_test.cc
  2. 6
      src/google/protobuf/compiler/rust/generator.cc

@ -3,9 +3,9 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "absl/strings/string_view.h"
#include "google/protobuf/rust/test/shared/utf8/feature_verify.pb.h"
#include "google/protobuf/rust/test/shared/utf8/no_features_proto2.pb.h"
#include "google/protobuf/rust/test/shared/utf8/no_features_proto3.pb.h"
#include "rust/test/shared/utf8/feature_verify.pb.h"
#include "rust/test/shared/utf8/no_features_proto2.pb.h"
#include "rust/test/shared/utf8/no_features_proto3.pb.h"
namespace {

@ -224,9 +224,9 @@ bool RustGenerator::Generate(const FileDescriptor* file,
#include "google/protobuf/map.h"
#include "google/protobuf/repeated_field.h"
#include "google/protobuf/repeated_ptr_field.h"
#include "google/protobuf/rust/cpp_kernel/map.h"
#include "google/protobuf/rust/cpp_kernel/serialized_data.h"
#include "google/protobuf/rust/cpp_kernel/strings.h"
#include "rust/cpp_kernel/map.h"
#include "rust/cpp_kernel/serialized_data.h"
#include "rust/cpp_kernel/strings.h"
)cc");
}

Loading…
Cancel
Save