You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These functions do not modify their arguments, so they does not need
mutable pointers. The C prototypes take a constant array of mutable
C-strings, but that's a legacy quirk from before C had const (since
string literals have type `char *`). The Rust prototype had `*mut` in
the wrong place, anyway: to match the C prototype, it should have been
`*const *mut c_char`.
Also fix the one caller of execve in libstd, which now no longer needs
an unsafe cast.
0 commit comments