From b82232fbcbbce14aa5959755ae4791a8e45771a0 Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Mon, 27 Feb 2023 15:04:44 -0800 Subject: [PATCH] Add dll export tags to Rust protoc generator PiperOrigin-RevId: 512742225 --- src/google/protobuf/compiler/rust/generator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/google/protobuf/compiler/rust/generator.h b/src/google/protobuf/compiler/rust/generator.h index 2d08bb68e7..5b3d0c426c 100644 --- a/src/google/protobuf/compiler/rust/generator.h +++ b/src/google/protobuf/compiler/rust/generator.h @@ -43,7 +43,8 @@ namespace protobuf { namespace compiler { namespace rust { -class RustGenerator final : public google::protobuf::compiler::CodeGenerator { +class PROTOC_EXPORT RustGenerator final + : public google::protobuf::compiler::CodeGenerator { public: RustGenerator() = default; RustGenerator(const RustGenerator&) = delete;