Skip to content

Fix complie error#367

Merged
mxpv merged 1 commit intocontainerd:mainfrom
jokemanfire:fail
Jan 27, 2025
Merged

Fix complie error#367
mxpv merged 1 commit intocontainerd:mainfrom
jokemanfire:fail

Conversation

@jokemanfire
Copy link
Member

@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 <hu.dingyang@zte.com.cn>
@mxpv mxpv added this pull request to the merge queue Jan 27, 2025
Merged via the queue into containerd:main with commit e5db241 Jan 27, 2025
18 checks passed
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.

2 participants