Protobuf Team Bot
6ae5db635e
Enable rust/test/cpp/interop/... tests on GHA
...
PiperOrigin-RevId: 681051606
2 months ago
Protobuf Team Bot
eeb7dc88f2
'Temporary' fix to avoid breakage from to_json and to_proto on crate_info() on some bazel versions.
...
PiperOrigin-RevId: 680648840
2 months ago
Protobuf Team Bot
b5d33208b8
Fix error message formatting in rust_proto_library
...
PiperOrigin-RevId: 678386953
2 months ago
Nathan Baulch
e4cbc79ab4
Fix minor typos ( #17682 )
...
Just thought I'd contribute some typo fixes that keep tripping up CI/CD checks in my projects. Nothing controversial (hopefully), just 174 simple fixes.
Use the following command to get a quick and dirty summary of the specific corrections made:
```shell
git diff HEAD^! --word-diff-regex='\w+' -U0 \
| grep -E '\[\-.*\-\]\{\+.*\+\}' \
| sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 \2/' \
| sort | uniq -c | sort -n
```
FWIW, the top typos are:
* trimed → trimmed (37)
* substract → subtract (7)
* qualifed → qualified (7)
* extesion → extension (6)
* mising → missing (5)
* btye → byte (4)
* likey → likely (4)
* candicate → candidate (3)
* decriptor → descriptor (3)
* inherting → inheriting (3)
* colletion → collection (3)
* caluclated → calculated (3)
* unititialized → uninitialized (3)
* implemting → implementing (3)
* binrary → binary (3)
* descripor → descriptor (3)
* negitive → negative (3)
Closes #17682
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17682 from NathanBaulch:typos d41762d137
PiperOrigin-RevId: 677074418
2 months ago
Protobuf Team Bot
a98c7f79aa
Internal
...
PiperOrigin-RevId: 656018120
4 months ago
Protobuf Team Bot
b14d9ee01f
Automated Code Change
...
PiperOrigin-RevId: 651754564
5 months ago
Marcel Hlopko
eca477a0f1
Internal change.
...
PiperOrigin-RevId: 634495582
6 months ago
Marcel Hlopko
69a26b217d
Use the name of the rust_proto_library as the crate name
...
PiperOrigin-RevId: 634414403
6 months ago
Marcel Hlopko
a8cb5833aa
Verify rust_proto_library name
...
PiperOrigin-RevId: 634006714
6 months ago
Marcel Hlopko
93bd4bb012
Ensure that the rust_proto_library is in the same package as proto_library
...
PiperOrigin-RevId: 628308230
7 months ago
Marcel Hlopko
419824d26b
Remove obsolete logic related to cc_proto_library
...
PiperOrigin-RevId: 628151973
7 months ago
Jakob Buchgraber
11bbab1664
#protobuf #rust Build gencode files when building a rust_proto_library target
...
from the command line.
PiperOrigin-RevId: 613167071
9 months ago
Marcel Hlopko
66ef7bc133
Do not default to private visibility in rust_proto_library internal alias
...
PiperOrigin-RevId: 611607559
9 months ago
Marcel Hlopko
0f4cf16815
Depend directly on cc_proto_aspect in rust_cc_proto_library
...
We had to wait for cc_proto_aspect to be exposed in Bazel. Now it is, so we can
simplify our build rules
PiperOrigin-RevId: 600362773
10 months ago
Marcel Hlopko
648c20d602
Pass crate mapping from Bazel to protoc
...
This will enable us to get the correct crate names for Rust gencode. The actual
reading of the mapping file in protoc happens in the followup.
PiperOrigin-RevId: 597509582
11 months ago
Hong Shin
9ac3548fa9
Clean up trailing whitespace in defs.bzl
...
PiperOrigin-RevId: 580198718
1 year ago
Sandy Zhang
81068e8e8c
Internal change
...
PiperOrigin-RevId: 566426899
1 year ago
Mike Kruskal
2447882e04
Update Abseil dependency in cmake docker images
...
PiperOrigin-RevId: 564754603
1 year ago
Protobuf Team Bot
e4aeff3992
Create initial Rust conformance test.
...
PiperOrigin-RevId: 564725507
1 year ago
Liam Miller-Cushon
0681fe6278
Internal change
...
PiperOrigin-RevId: 553231105
1 year ago
Protobuf Team Bot
9609f42dd7
Internal change.
...
PiperOrigin-RevId: 545770955
1 year ago
Marcel Hlopko
ebbb2d656f
Visibility restrict targets generated by rust_proto_library macro
...
PiperOrigin-RevId: 520561115
2 years ago
Marcel Hlopko
d9a8622fac
Enable bzl visibility for Protobuf Rust rules
...
PiperOrigin-RevId: 520319698
2 years ago
Jakob Buchgraber
7802b93442
Fix build errors in Protobuf Rust
...
PiperOrigin-RevId: 518619271
2 years ago
Marcel Hlopko
aaa338b285
Configure build for the C++ backend
...
PiperOrigin-RevId: 517429571
2 years ago
Marcel Hlopko
ab9f1ab58a
Configure the build for the Rust UPB backend
...
In this CL we're adding the barebones infrastructure to generate Rust proto messages using UPB as a backend. The API is what we call a V0, not yet production-quality, not yet rigorously designed, just something to enable parallel work.
The interesting part of switching backend between UPB and C++ will come in a followup.
PiperOrigin-RevId: 517089760
2 years ago
Marcel Hlopko
26af540a7a
Add support for proto dependencies to rust_proto_library
...
PiperOrigin-RevId: 514719215
2 years ago
Marcel Hlopko
3dc546daff
Implement a minimal, internal, experimental rust_proto_library rule.
...
The internal design is consistent with other <lang>_proto_library rules. rust_proto_library attaches rust_proto_library_aspect on its `deps` attribute. The aspect traverses the dependency, and when it visits proto_library (detected by ProtoInfo provider) it registers 2 actions:
1) to run protoc with Rust backend to emit gencode
2) to compile the gencode using Rustc
Action (2) gets the Rust proto runtime as an input as well.
Coming in a followup is support and test coverage for proto_library.deps.
PiperOrigin-RevId: 514521285
2 years ago