@@ -31,7 +31,7 @@ use rustc_target::spec::abi::Abi;
31
31
32
32
use crate :: {
33
33
concurrency:: { data_race, weak_memory} ,
34
- shims:: unix:: FdTable ,
34
+ shims:: unix,
35
35
* ,
36
36
} ;
37
37
@@ -439,8 +439,7 @@ pub struct MiriMachine<'mir, 'tcx> {
439
439
/// Ptr-int-cast module global data.
440
440
pub alloc_addresses : alloc_addresses:: GlobalState ,
441
441
442
- /// Environment variables set by `setenv`.
443
- /// Miri does not expose env vars from the host to the emulated program.
442
+ /// Environment variables.
444
443
pub ( crate ) env_vars : EnvVars < ' tcx > ,
445
444
446
445
/// Return place of the main function.
@@ -465,9 +464,9 @@ pub struct MiriMachine<'mir, 'tcx> {
465
464
pub ( crate ) validate : bool ,
466
465
467
466
/// The table of file descriptors.
468
- pub ( crate ) fds : shims :: unix:: FdTable ,
467
+ pub ( crate ) fds : unix:: FdTable ,
469
468
/// The table of directory descriptors.
470
- pub ( crate ) dirs : shims :: unix:: DirTable ,
469
+ pub ( crate ) dirs : unix:: DirTable ,
471
470
472
471
/// This machine's monotone clock.
473
472
pub ( crate ) clock : Clock ,
@@ -642,7 +641,7 @@ impl<'mir, 'tcx> MiriMachine<'mir, 'tcx> {
642
641
tls : TlsData :: default ( ) ,
643
642
isolated_op : config. isolated_op ,
644
643
validate : config. validate ,
645
- fds : FdTable :: new ( config. mute_stdout_stderr ) ,
644
+ fds : unix :: FdTable :: new ( config. mute_stdout_stderr ) ,
646
645
dirs : Default :: default ( ) ,
647
646
layouts,
648
647
threads : ThreadManager :: default ( ) ,
0 commit comments