Skip to content

Commit eaca17f

Browse files
committed
add reference to issue#1013
1 parent f3e3af4 commit eaca17f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/shims/env.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ impl<'tcx> EnvVars<'tcx> {
2727
) -> InterpResult<'tcx> {
2828
let target_os = ecx.tcx.sess.target.target.target_os.as_str();
2929
if target_os == "windows" {
30-
// Exclude `TERM` var to avoid terminfo trying to open the termcap file.
30+
// 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.
3132
excluded_env_vars.push("TERM".to_owned());
3233
}
34+
3335
if ecx.machine.communicate {
3436
for (name, value) in env::vars() {
3537
if !excluded_env_vars.contains(&name) {

0 commit comments

Comments
 (0)