Skip to content

Fixes Rust example 8 failing on downstream Bazel Head CI #554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 17 commits into from

Conversation

marvin-hansen
Copy link
Contributor

This PR resolves half of the failing Rust examples on downstream Bazel built from HEAD.

The two examples in questions are 7 and 8.
Example 7 is tricky and gets its own PR when I found a workaround.

This PR resolves example 8 by removing the vendoring that causes the build failure on downstream.

Signed-off-by: Marvin Hansen <[email protected]>
Signed-off-by: Marvin Hansen <[email protected]>
Signed-off-by: Marvin Hansen <[email protected]>
Signed-off-by: Marvin Hansen <[email protected]>
# Conflicts:
#	rust-examples/02-hello-cross/MODULE.bazel
# Conflicts:
#	rust-examples/.bazelversion
#	rust-examples/01-hello-world/MODULE.bazel
#	rust-examples/02-hello-cross/.bazelrc
#	rust-examples/02-hello-cross/MODULE.bazel
#	rust-examples/03-comp-opt/MODULE.bazel
#	rust-examples/04-ffi/MODULE.bazel
#	rust-examples/05-deps-cargo/MODULE.bazel
#	rust-examples/06-deps-direct/MODULE.bazel
#	rust-examples/06-deps-direct/MODULE.bazel.lock
#	rust-examples/07-deps-vendor/MODULE.bazel
#	rust-examples/07-deps-vendor/MODULE.bazel.lock
#	rust-examples/08-grpc-client-server/MODULE.bazel
#	rust-examples/08-grpc-client-server/MODULE.bazel.lock
#	rust-examples/08-grpc-client-server/thirdparty/all_deps.bzl
#	rust-examples/09-oci-container/MODULE.bazel
@marvin-hansen
Copy link
Contributor Author

Resolves partially #540

Updated README.md

Signed-off-by: Marvin Hansen <[email protected]>
@meteorcloudy
Copy link
Member

Why do we have so many file changes? Some vendored file not removed?

@marvin-hansen
Copy link
Contributor Author

marvin-hansen commented Feb 17, 2025 via email

@meteorcloudy
Copy link
Member

I still don't understand why there are so many new files, I'm not fine with checking in a large number of files in this repo. I won't be able to review them.

@marvin-hansen
Copy link
Contributor Author

marvin-hansen commented Feb 17, 2025

Actually, you are right. There is too much unrelated stuff. Sorry, I'm on my mobile and couldn't really see it.

Let me move the changeset into a clean branch tomorrow and try again.

@marvin-hansen marvin-hansen closed this by deleting the head repository Feb 18, 2025
@marvin-hansen
Copy link
Contributor Author

Okay, @meteorcloudy I've filled a new PR with just the 7 affected files.
CI is already green.

Please review: #555

Wyverald pushed a commit that referenced this pull request Feb 18, 2025
Fixes Rust example 8 on downstream CI, as discussed in
#540
Replaces the previous PR #554

Signed-off-by: Marvin Hansen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants