Global Execution Context Renames#5056
Merged
Merged
Conversation
CargoThe 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 8b4f840..8242788 100644
--- a/src/rs/ffi/linux_bindings.rs
+++ b/src/rs/ffi/linux_bindings.rs
@@ -412,12 +412,12 @@ pub const QUIC_DATAGRAM_SEND_STATE_QUIC_DATAGRAM_SEND_ACKNOWLEDGED_SPURIOUS:
QUIC_DATAGRAM_SEND_STATE = 5;
pub const QUIC_DATAGRAM_SEND_STATE_QUIC_DATAGRAM_SEND_CANCELED: QUIC_DATAGRAM_SEND_STATE = 6;
pub type QUIC_DATAGRAM_SEND_STATE = ::std::os::raw::c_uint;
-pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NONE: QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS =
- 0;
-pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_RIO: QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS =
- 2;
-pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_XDP: QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS =
- 4;
+pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NONE:
+ QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 0;
+pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_RIO:
+ QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 2;
+pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_XDP:
+ QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 4;
pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NO_IDEAL_PROC:
QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 8;
pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_HIGH_PRIORITY:
@@ -435,7 +435,8 @@ pub struct QUIC_GLOBAL_EXECUTION_CONFIG {
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
- ["Size of QUIC_GLOBAL_EXECUTION_CONFIG"][::std::mem::size_of::<QUIC_GLOBAL_EXECUTION_CONFIG>() - 16usize];
+ ["Size of QUIC_GLOBAL_EXECUTION_CONFIG"]
+ [::std::mem::size_of::<QUIC_GLOBAL_EXECUTION_CONFIG>() - 16usize];
["Alignment of QUIC_GLOBAL_EXECUTION_CONFIG"]
[::std::mem::align_of::<QUIC_GLOBAL_EXECUTION_CONFIG>() - 4usize];
["Offset of field: QUIC_GLOBAL_EXECUTION_CONFIG::Flags"] |
CargoThe 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 1357f28..c20def9 100644
--- a/src/rs/ffi/win_bindings.rs
+++ b/src/rs/ffi/win_bindings.rs
@@ -411,12 +411,12 @@ pub const QUIC_DATAGRAM_SEND_STATE_QUIC_DATAGRAM_SEND_ACKNOWLEDGED_SPURIOUS:
QUIC_DATAGRAM_SEND_STATE = 5;
pub const QUIC_DATAGRAM_SEND_STATE_QUIC_DATAGRAM_SEND_CANCELED: QUIC_DATAGRAM_SEND_STATE = 6;
pub type QUIC_DATAGRAM_SEND_STATE = ::std::os::raw::c_int;
-pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NONE: QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS =
- 0;
-pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_RIO: QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS =
- 2;
-pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_XDP: QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS =
- 4;
+pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NONE:
+ QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 0;
+pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_RIO:
+ QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 2;
+pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_XDP:
+ QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 4;
pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NO_IDEAL_PROC:
QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 8;
pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_HIGH_PRIORITY:
@@ -434,7 +434,8 @@ pub struct QUIC_GLOBAL_EXECUTION_CONFIG {
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
- ["Size of QUIC_GLOBAL_EXECUTION_CONFIG"][::std::mem::size_of::<QUIC_GLOBAL_EXECUTION_CONFIG>() - 16usize];
+ ["Size of QUIC_GLOBAL_EXECUTION_CONFIG"]
+ [::std::mem::size_of::<QUIC_GLOBAL_EXECUTION_CONFIG>() - 16usize];
["Alignment of QUIC_GLOBAL_EXECUTION_CONFIG"]
[::std::mem::align_of::<QUIC_GLOBAL_EXECUTION_CONFIG>() - 4usize];
["Offset of field: QUIC_GLOBAL_EXECUTION_CONFIG::Flags"] |
guhetier
reviewed
Apr 28, 2025
ProjectsByJackHe
left a comment
Contributor
There was a problem hiding this comment.
LGTM once the Cargo CI is passing.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5056 +/- ##
==========================================
- Coverage 87.31% 86.28% -1.03%
==========================================
Files 59 59
Lines 17913 17913
==========================================
- Hits 15641 15457 -184
- Misses 2272 2456 +184 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Collaborator
Command to apply: echo @"
diff --git a/src/rs/ffi/win_bindings.rs b/src/rs/ffi/win_bindings.rs
index 1357f28..c20def9 100644
--- a/src/rs/ffi/win_bindings.rs
+++ b/src/rs/ffi/win_bindings.rs
@@ -411,12 +411,12 @@ pub const QUIC_DATAGRAM_SEND_STATE_QUIC_DATAGRAM_SEND_ACKNOWLEDGED_SPURIOUS:
QUIC_DATAGRAM_SEND_STATE = 5;
pub const QUIC_DATAGRAM_SEND_STATE_QUIC_DATAGRAM_SEND_CANCELED: QUIC_DATAGRAM_SEND_STATE = 6;
pub type QUIC_DATAGRAM_SEND_STATE = ::std::os::raw::c_int;
-pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NONE: QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS =
- 0;
-pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_RIO: QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS =
- 2;
-pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_XDP: QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS =
- 4;
+pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NONE:
+ QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 0;
+pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_RIO:
+ QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 2;
+pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_XDP:
+ QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 4;
pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NO_IDEAL_PROC:
QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS = 8;
pub const QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS_QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_HIGH_PRIORITY:
@@ -434,7 +434,8 @@ pub struct QUIC_GLOBAL_EXECUTION_CONFIG {
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
- ["Size of QUIC_GLOBAL_EXECUTION_CONFIG"][::std::mem::size_of::<QUIC_GLOBAL_EXECUTION_CONFIG>() - 16usize];
+ ["Size of QUIC_GLOBAL_EXECUTION_CONFIG"]
+ [::std::mem::size_of::<QUIC_GLOBAL_EXECUTION_CONFIG>() - 16usize];
["Alignment of QUIC_GLOBAL_EXECUTION_CONFIG"]
[::std::mem::align_of::<QUIC_GLOBAL_EXECUTION_CONFIG>() - 4usize];
["Offset of field: QUIC_GLOBAL_EXECUTION_CONFIG::Flags"]
"@ | git apply -@nibanks Would something like this work? |
Collaborator
Author
Nope. |
ProjectsByJackHe
approved these changes
Apr 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Pulling out some renames from #4616.
Testing
CI/CD
Documentation
Updated