We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ce4040 commit 064f71cCopy full SHA for 064f71c
library/std/src/os/windows/process.rs
@@ -426,7 +426,9 @@ impl CommandExt for process::Command {
426
value_ptr: *const c_void,
427
value_size: usize,
428
) -> &mut process::Command {
429
- self.as_inner_mut().raw_attribute_ptr(attribute, value_ptr, value_size);
+ unsafe {
430
+ self.as_inner_mut().raw_attribute_ptr(attribute, value_ptr, value_size);
431
+ }
432
self
433
}
434
library/std/src/sys/pal/windows/process.rs
@@ -274,6 +274,7 @@ impl Command {
274
size: value_size,
275
pointer: value_ptr as isize,
276
}),
277
+ );
278
279
280
pub fn spawn(
0 commit comments