We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3e3af4 commit eaca17fCopy full SHA for eaca17f
src/shims/env.rs
@@ -27,9 +27,11 @@ impl<'tcx> EnvVars<'tcx> {
27
) -> InterpResult<'tcx> {
28
let target_os = ecx.tcx.sess.target.target.target_os.as_str();
29
if target_os == "windows" {
30
- // Exclude `TERM` var to avoid terminfo trying to open the termcap file.
+ // Temporary hack: Exclude `TERM` var to avoid terminfo trying to open the termcap file.
31
+ // Can be removed once Issue#1013(Implement file system access for Windows) is resolved.
32
excluded_env_vars.push("TERM".to_owned());
33
}
34
+
35
if ecx.machine.communicate {
36
for (name, value) in env::vars() {
37
if !excluded_env_vars.contains(&name) {
0 commit comments