@@ -31,7 +31,7 @@ use rustc_target::spec::abi::Abi;
3131
3232use crate :: {
3333 concurrency:: { data_race, weak_memory} ,
34- shims:: unix:: FdTable ,
34+ shims:: unix,
3535 * ,
3636} ;
3737
@@ -439,8 +439,7 @@ pub struct MiriMachine<'mir, 'tcx> {
439439 /// Ptr-int-cast module global data.
440440 pub alloc_addresses : alloc_addresses:: GlobalState ,
441441
442- /// Environment variables set by `setenv`.
443- /// Miri does not expose env vars from the host to the emulated program.
442+ /// Environment variables.
444443 pub ( crate ) env_vars : EnvVars < ' tcx > ,
445444
446445 /// Return place of the main function.
@@ -465,9 +464,9 @@ pub struct MiriMachine<'mir, 'tcx> {
465464 pub ( crate ) validate : bool ,
466465
467466 /// The table of file descriptors.
468- pub ( crate ) fds : shims :: unix:: FdTable ,
467+ pub ( crate ) fds : unix:: FdTable ,
469468 /// The table of directory descriptors.
470- pub ( crate ) dirs : shims :: unix:: DirTable ,
469+ pub ( crate ) dirs : unix:: DirTable ,
471470
472471 /// This machine's monotone clock.
473472 pub ( crate ) clock : Clock ,
@@ -642,7 +641,7 @@ impl<'mir, 'tcx> MiriMachine<'mir, 'tcx> {
642641 tls : TlsData :: default ( ) ,
643642 isolated_op : config. isolated_op ,
644643 validate : config. validate ,
645- fds : FdTable :: new ( config. mute_stdout_stderr ) ,
644+ fds : unix :: FdTable :: new ( config. mute_stdout_stderr ) ,
646645 dirs : Default :: default ( ) ,
647646 layouts,
648647 threads : ThreadManager :: default ( ) ,
0 commit comments