Skip to content

Commit

Permalink
Refer to upb_proto_c_library rather than upb_proto_library. (#19266)
Browse files Browse the repository at this point in the history
The former seems to be preferred nowadays.

Closes #19266

COPYBARA_INTEGRATE_REVIEW=#19266 from phst:names 8c7dfa0
PiperOrigin-RevId: 697724104
  • Loading branch information
phst authored and copybara-github committed Nov 18, 2024
1 parent dc4e9f8 commit 0d98796
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
17 changes: 0 additions & 17 deletions csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs

This file was deleted.

12 changes: 6 additions & 6 deletions docs/upb/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ because both the code size and the runtime memory overhead will be less than

There are three main ways of loading a MiniTable:

1. **From C generated code:** The upb code generator can emit `.upb.c` files that
contain the MiniTables as global constant variables. When the main program
links against these, the MiniTable will be placed into `.rodata` (or
`.data.rel.ro`) in the binary. The MiniTable can then be obtained from a
generated function. In Blaze/Bazel these files can be generated and linked
using the `upb_proto_library()` rule.
1. **From C generated code:** The upb code generator can emit
`.upb_minitable.c` files that contain the MiniTables as global constant
variables. When the main program links against these, the MiniTable will be
placed into `.rodata` (or `.data.rel.ro`) in the binary. The MiniTable can
then be obtained from a generated function. In Blaze/Bazel these files can
be generated and linked using the `upb_minitable_proto_library()` rule.
2. **From MiniDescriptors:** The user can build MiniDescriptors into MiniTables
at runtime. MiniDescriptors are a compact upb-specific wire format designed
specially for this purpose. The user can call `upb_MiniTable_Build()` at
Expand Down

0 comments on commit 0d98796

Please sign in to comment.