-
Notifications
You must be signed in to change notification settings - Fork 571
Upload rust binding diff as an artifact #5077
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
Conversation
This reverts commit 1840c27.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once you remove the dummy code to break Cargo.
Cargo - ubuntu-latestThe rust bindings need to be updated. Please apply ( diff --git a/src/rs/ffi/linux_bindings.rs b/src/rs/ffi/linux_bindings.rs
index 99ddcd7..8930f19 100644
--- a/src/rs/ffi/linux_bindings.rs
+++ b/src/rs/ffi/linux_bindings.rs
@@ -6392,12 +6392,13 @@ pub struct QUIC_API_TABLE {
pub ConnectionResumptionTicketValidationComplete: QUIC_CONNECTION_COMP_RESUMPTION_FN,
pub ConnectionCertificateValidationComplete: QUIC_CONNECTION_COMP_CERT_FN,
pub ConnectionOpenInPartition: QUIC_CONNECTION_OPEN_IN_PARTITION_FN,
+ pub Dummy: QUIC_CONNECTION_OPEN_IN_PARTITION_FN,
pub StreamProvideReceiveBuffers: QUIC_STREAM_PROVIDE_RECEIVE_BUFFERS_FN,
pub ConnectionPoolCreate: QUIC_CONN_POOL_CREATE_FN,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
- ["Size of QUIC_API_TABLE"][::std::mem::size_of::<QUIC_API_TABLE>() - 272usize];
+ ["Size of QUIC_API_TABLE"][::std::mem::size_of::<QUIC_API_TABLE>() - 280usize];
["Alignment of QUIC_API_TABLE"][::std::mem::align_of::<QUIC_API_TABLE>() - 8usize];
["Offset of field: QUIC_API_TABLE::SetContext"]
[::std::mem::offset_of!(QUIC_API_TABLE, SetContext) - 0usize];
@@ -6467,10 +6468,12 @@ const _: () = {
) - 240usize];
["Offset of field: QUIC_API_TABLE::ConnectionOpenInPartition"]
[::std::mem::offset_of!(QUIC_API_TABLE, ConnectionOpenInPartition) - 248usize];
+ ["Offset of field: QUIC_API_TABLE::Dummy"]
+ [::std::mem::offset_of!(QUIC_API_TABLE, Dummy) - 256usize];
["Offset of field: QUIC_API_TABLE::StreamProvideReceiveBuffers"]
- [::std::mem::offset_of!(QUIC_API_TABLE, StreamProvideReceiveBuffers) - 256usize];
+ [::std::mem::offset_of!(QUIC_API_TABLE, StreamProvideReceiveBuffers) - 264usize];
["Offset of field: QUIC_API_TABLE::ConnectionPoolCreate"]
- [::std::mem::offset_of!(QUIC_API_TABLE, ConnectionPoolCreate) - 264usize];
+ [::std::mem::offset_of!(QUIC_API_TABLE, ConnectionPoolCreate) - 272usize];
};
pub const QUIC_STATUS_SUCCESS: QUIC_STATUS = 0;
pub const QUIC_STATUS_PENDING: QUIC_STATUS = 4294967294; |
Cargo - windows-latestThe rust bindings need to be updated. Please apply ( diff --git a/src/rs/ffi/win_bindings.rs b/src/rs/ffi/win_bindings.rs
index 6e59aa2..59d1b1d 100644
--- a/src/rs/ffi/win_bindings.rs
+++ b/src/rs/ffi/win_bindings.rs
@@ -6413,12 +6413,13 @@ pub struct QUIC_API_TABLE {
pub ConnectionResumptionTicketValidationComplete: QUIC_CONNECTION_COMP_RESUMPTION_FN,
pub ConnectionCertificateValidationComplete: QUIC_CONNECTION_COMP_CERT_FN,
pub ConnectionOpenInPartition: QUIC_CONNECTION_OPEN_IN_PARTITION_FN,
+ pub Dummy: QUIC_CONNECTION_OPEN_IN_PARTITION_FN,
pub StreamProvideReceiveBuffers: QUIC_STREAM_PROVIDE_RECEIVE_BUFFERS_FN,
pub ConnectionPoolCreate: QUIC_CONN_POOL_CREATE_FN,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
- ["Size of QUIC_API_TABLE"][::std::mem::size_of::<QUIC_API_TABLE>() - 272usize];
+ ["Size of QUIC_API_TABLE"][::std::mem::size_of::<QUIC_API_TABLE>() - 280usize];
["Alignment of QUIC_API_TABLE"][::std::mem::align_of::<QUIC_API_TABLE>() - 8usize];
["Offset of field: QUIC_API_TABLE::SetContext"]
[::std::mem::offset_of!(QUIC_API_TABLE, SetContext) - 0usize];
@@ -6488,10 +6489,12 @@ const _: () = {
) - 240usize];
["Offset of field: QUIC_API_TABLE::ConnectionOpenInPartition"]
[::std::mem::offset_of!(QUIC_API_TABLE, ConnectionOpenInPartition) - 248usize];
+ ["Offset of field: QUIC_API_TABLE::Dummy"]
+ [::std::mem::offset_of!(QUIC_API_TABLE, Dummy) - 256usize];
["Offset of field: QUIC_API_TABLE::StreamProvideReceiveBuffers"]
- [::std::mem::offset_of!(QUIC_API_TABLE, StreamProvideReceiveBuffers) - 256usize];
+ [::std::mem::offset_of!(QUIC_API_TABLE, StreamProvideReceiveBuffers) - 264usize];
["Offset of field: QUIC_API_TABLE::ConnectionPoolCreate"]
- [::std::mem::offset_of!(QUIC_API_TABLE, ConnectionPoolCreate) - 264usize];
+ [::std::mem::offset_of!(QUIC_API_TABLE, ConnectionPoolCreate) - 272usize];
};
pub const QUIC_STATUS_SUCCESS: QUIC_STATUS = 0;
pub const QUIC_STATUS_PENDING: QUIC_STATUS = 459749; |
This reverts commit 8f79402.
Should be ready to go. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5077 +/- ##
==========================================
- Coverage 87.19% 85.98% -1.22%
==========================================
Files 59 59
Lines 17924 17924
==========================================
- Hits 15629 15412 -217
- Misses 2295 2512 +217 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Upload rust binding diff as an artifact + print it in the logs: the comment on the PR doesn't work for forks based PRs.
Testing
See on this PR CI run.
Documentation
N/A