-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Extract WStrUnits to sys_common::wstr #104160
Conversation
r? @m-ou-se (rustbot has picked a reviewer for you, use r? to override) |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
d8f3dbd
to
e1f2e84
Compare
e1f2e84
to
3a8c515
Compare
I'm not sure why it is showing canceled tests as unsuccessful since I only changed the commit message. |
I restarted all CI jobs. |
@m-ou-se Just sending a ping since it has been open for a while. |
Can you point to any documentation that shows that on uefi the exact same argument parsing algorithm should be used as on windows, even wrt quotes and spaces etc.? In your commit message you talk about "wtf8 argument parsing", but the way quotes and spaces are handled and arguments are split is entirely unrelated to wtf8. |
The UEFI specification itself does not specify anything for arguments. They are just an array of bytes (See OptionalData in Section 3.1.3). However, UEFI Shell specification does specify some stuff about arguments (See Section 3.4), and that does differ a bit from Windows parsing. So I should probably write a new implementation for UEFI. I would still like to move the |
3a8c515
to
47525f5
Compare
@rustbot ready |
@m-ou-se Ping |
This commit extracts WStrUnits from sys::windows::args to sys_common::wstr. This allows using the same structure for other targets which use wtf8 (example UEFI). This was originally a part of rust-lang#100316 Signed-off-by: Ayush Singh <[email protected]>
47525f5
to
348a058
Compare
@bors r+ |
⌛ Testing commit 348a058 with merge 5a64193a8fc0c021b24e31f846e6762ea70fa7ca... |
💥 Test timed out |
Looks like a spurious failure. @bors retry |
☀️ Test successful - checks-actions |
Finished benchmarking commit (1dcf6ad): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
Extract WStrUnits to sys_common::wstr This commit extracts WStrUnits from sys::windows::args to sys_common::wstr. This allows using the same structure for other targets which use wtf8 (example UEFI). This was originally a part of rust-lang#100316 Signed-off-by: Ayush Singh <[email protected]>
This commit extracts WStrUnits from sys::windows::args to sys_common::wstr. This allows using the same structure for other targets which use wtf8 (example UEFI).
This was originally a part of #100316
Signed-off-by: Ayush Singh [email protected]