-
Notifications
You must be signed in to change notification settings - Fork 1
Remove the windows dependency
#12
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
| let process_creation_flags = PROCESS_CREATION_FLAGS(0); | ||
|
|
||
| // Convert command to a wide string with a null terminator. | ||
| let mut command_wide = command.encode_wide().chain(Some(0)).collect::<Vec<_>>(); |
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.
It looks like this was 0 terminated string.
I think the 0 at the end is more correct.
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.
Yeah looks like there should be a NULL (0) at the end:
The maximum length of this string is 32,767 characters, including the Unicode terminating null character. If lpApplicationName is NULL, the module name portion of lpCommandLine is limited to MAX_PATH characters.
src/lib.rs
Outdated
| }, | ||
| }, | ||
|
|
||
| mod binding; |
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.
mod usually comes before all the use
No description provided.