diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-19 16:12:34 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-19 16:12:34 +0800 |
| commit | 2036fb58275d7fddad9c27bcceb780e8f715e5c0 (patch) | |
| tree | 68135f63b940f1afa95e220a1be00196f1b47835 /mingling_core | |
| parent | 1fa150cc603f53b48413aff18dcae6a051277b93 (diff) | |
Add missing import for std::env on non-Windows platforms
Diffstat (limited to 'mingling_core')
| -rw-r--r-- | mingling_core/src/program.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mingling_core/src/program.rs b/mingling_core/src/program.rs index ce4a5fa..db5957b 100644 --- a/mingling_core/src/program.rs +++ b/mingling_core/src/program.rs @@ -4,6 +4,9 @@ use crate::{ShellContext, Suggest}; #[cfg(feature = "general_renderer")] use crate::error::GeneralRendererSerializeError; +#[cfg(not(windows))] +use std::env; + use crate::{ AnyOutput, ChainProcess, RenderResult, asset::dispatcher::Dispatcher, error::ProgramExecuteError, |
