From eaca17fcc31a74690bc89d6b2aa7c41b4aedb79a Mon Sep 17 00:00:00 2001 From: JOE1994 Date: Fri, 27 Mar 2020 09:59:42 -0400 Subject: [PATCH] add reference to issue#1013 --- src/shims/env.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shims/env.rs b/src/shims/env.rs index 794a1aab422a..eee9a539185c 100644 --- a/src/shims/env.rs +++ b/src/shims/env.rs @@ -27,9 +27,11 @@ impl<'tcx> EnvVars<'tcx> { ) -> InterpResult<'tcx> { let target_os = ecx.tcx.sess.target.target.target_os.as_str(); if target_os == "windows" { - // 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. + // Can be removed once Issue#1013(Implement file system access for Windows) is resolved. excluded_env_vars.push("TERM".to_owned()); } + if ecx.machine.communicate { for (name, value) in env::vars() { if !excluded_env_vars.contains(&name) {