We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33c8992 commit 79a53cfCopy full SHA for 79a53cf
src/libstd/sys/common/args.rs
@@ -82,7 +82,7 @@ mod imp {
82
}
83
84
fn get_global_ptr() -> *mut Option<Box<Vec<Vec<u8>>>> {
85
- unsafe { mem::transmute(&GLOBAL_ARGS_PTR) }
+ unsafe { mem::transmute(&mut GLOBAL_ARGS_PTR) }
86
87
88
0 commit comments