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
They're important because, on Windows, std::env::set_var is implemented via SetEnvironmentVariableW WinAPI, which has a separate table from CRT (libc) implementation. As a result, if you're linking Rust with C code and want C code to see some dynamically set environment variables, putenv and friends are your only option.
The text was updated successfully, but these errors were encountered:
_putenv, _wputenv, _putenv_s, _wputenv_s are currently missing.
They're important because, on Windows,
std::env::set_var
is implemented viaSetEnvironmentVariableW
WinAPI, which has a separate table from CRT (libc) implementation. As a result, if you're linking Rust with C code and want C code to see some dynamically set environment variables,putenv
and friends are your only option.The text was updated successfully, but these errors were encountered: