Skip to content
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

Fix complie error #367

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix complie error #367

wants to merge 1 commit into from

Conversation

jokemanfire
Copy link
Contributor

@jokemanfire jokemanfire commented Jan 20, 2025

  1. update ttrpc version
  2. proto3 syntax "To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default"
  3. compile fail because "required for the cast from Arc<std::boxed::Box<<T as asynchronous::Shim>::T>> to Arc<(dyn containerd_shim_protos::shim_async::Task + std::marker::Send + Sync + 'static)>"

@github-actions github-actions bot added C-shim-protos Shim protos C-shim Containerd shim C-client Containerd client labels Jan 20, 2025
1. update ttrpc version
2. proto3 syntax  "To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default"
3. compile fail because "required for the cast from `Arc<std::boxed::Box<<T as asynchronous::Shim>::T>>` to `Arc<(dyn containerd_shim_protos::shim_async::Task + std::marker::Send + Sync + 'static)>`"

Signed-off-by: jokemanfire <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-client Containerd client C-shim Containerd shim C-shim-protos Shim protos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant