parent
9a76b96cc4
commit
7802b93442
10 changed files with 44 additions and 47 deletions
@ -1,5 +1,3 @@ |
|||||||
load(":rust_proto_library_unit_test.bzl", "rust_proto_library_unit_test") |
load(":rust_proto_library_unit_test.bzl", "rust_proto_library_unit_test") |
||||||
|
|
||||||
package(default_applicable_licenses = ["//third_party/protobuf:license"]) |
|
||||||
|
|
||||||
rust_proto_library_unit_test(name = "rust_proto_library_unit_test") |
rust_proto_library_unit_test(name = "rust_proto_library_unit_test") |
||||||
|
@ -1,30 +1,34 @@ |
|||||||
/*
|
// Protocol Buffers - Google's data interchange format
|
||||||
* Copyright (c) 2009-2021, Google LLC |
// Copyright 2023 Google Inc. All rights reserved.
|
||||||
* All rights reserved. |
// https://developers.google.com/protocol-buffers/
|
||||||
* |
//
|
||||||
* Redistribution and use in source and binary forms, with or without |
// Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met: |
// modification, are permitted provided that the following conditions are
|
||||||
* * Redistributions of source code must retain the above copyright |
// met:
|
||||||
* notice, this list of conditions and the following disclaimer. |
//
|
||||||
* * Redistributions in binary form must reproduce the above copyright |
// * Redistributions of source code must retain the above copyright
|
||||||
* notice, this list of conditions and the following disclaimer in the |
// notice, this list of conditions and the following disclaimer.
|
||||||
* documentation and/or other materials provided with the distribution. |
// * Redistributions in binary form must reproduce the above
|
||||||
* * Neither the name of Google LLC nor the |
// copyright notice, this list of conditions and the following disclaimer
|
||||||
* names of its contributors may be used to endorse or promote products |
// in the documentation and/or other materials provided with the
|
||||||
* derived from this software without specific prior written permission. |
// distribution.
|
||||||
* |
// * Neither the name of Google Inc. nor the names of its
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
// contributors may be used to endorse or promote products derived from
|
||||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
// this software without specific prior written permission.
|
||||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
//
|
||||||
* ARE DISCLAIMED. IN NO EVENT SHALL Google LLC BE LIABLE FOR ANY DIRECT, |
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
*/ |
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
//
|
||||||
|
|
||||||
#define UPB_BUILD_API |
#define UPB_BUILD_API |
||||||
|
|
||||||
#include "third_party/upb/upb/mem/arena.h" // IWYU pragma: keep |
#include "upb/mem/arena.h" // IWYU pragma: keep |
||||||
|
Loading…
Reference in new issue