Skip to content

Commit f669872

Browse files
authored
Rollup merge of rust-lang#64393 - Wind-River:master_002_envKey, r=alexcrichton
declare EnvKey before use to fix build error r? @alexcrichton
2 parents f7dd5d0 + 08fa803 commit f669872

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/libstd/sys/vxworks/process/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
pub use self::process_common::{Command, ExitStatus, ExitCode, Stdio, StdioPipes};
22
pub use self::process_inner::Process;
3+
pub use crate::ffi::OsString as EnvKey;
34

45
mod process_common;
56
#[path = "process_vxworks.rs"]

src/libstd/sys/vxworks/process/process_common.rs

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ use crate::collections::BTreeMap;
1212

1313
use libc::{c_int, gid_t, uid_t, c_char, EXIT_SUCCESS, EXIT_FAILURE};
1414

15-
pub use crate::ffi::OsString as EnvKey;
16-
1715
////////////////////////////////////////////////////////////////////////////////
1816
// Command
1917
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)