Move WasiExecModel
.
All the other option enums are defined in `config.rs`.
This commit is contained in:
parent
5f11d19be5
commit
4b90b26fd8
2 changed files with 7 additions and 7 deletions
|
@ -3143,6 +3143,12 @@ impl PpMode {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Clone, Hash, PartialEq, Eq, Debug)]
|
||||||
|
pub enum WasiExecModel {
|
||||||
|
Command,
|
||||||
|
Reactor,
|
||||||
|
}
|
||||||
|
|
||||||
/// Command-line arguments passed to the compiler have to be incorporated with
|
/// Command-line arguments passed to the compiler have to be incorporated with
|
||||||
/// the dependency tracking system for incremental compilation. This module
|
/// the dependency tracking system for incremental compilation. This module
|
||||||
/// provides some utilities to make this more convenient.
|
/// provides some utilities to make this more convenient.
|
||||||
|
@ -3168,9 +3174,9 @@ pub(crate) mod dep_tracking {
|
||||||
LocationDetail, LtoCli, OomStrategy, OptLevel, OutFileName, OutputType, OutputTypes,
|
LocationDetail, LtoCli, OomStrategy, OptLevel, OutFileName, OutputType, OutputTypes,
|
||||||
Polonius, RemapPathScopeComponents, ResolveDocLinks, SourceFileHashAlgorithm,
|
Polonius, RemapPathScopeComponents, ResolveDocLinks, SourceFileHashAlgorithm,
|
||||||
SplitDwarfKind, SwitchWithOptPath, SymbolManglingVersion, TraitSolver, TrimmedDefPaths,
|
SplitDwarfKind, SwitchWithOptPath, SymbolManglingVersion, TraitSolver, TrimmedDefPaths,
|
||||||
|
WasiExecModel,
|
||||||
};
|
};
|
||||||
use crate::lint;
|
use crate::lint;
|
||||||
use crate::options::WasiExecModel;
|
|
||||||
use crate::utils::NativeLib;
|
use crate::utils::NativeLib;
|
||||||
use rustc_data_structures::stable_hasher::Hash64;
|
use rustc_data_structures::stable_hasher::Hash64;
|
||||||
use rustc_errors::LanguageIdentifier;
|
use rustc_errors::LanguageIdentifier;
|
||||||
|
|
|
@ -1973,9 +1973,3 @@ written to standard error output)"),
|
||||||
// - compiler/rustc_interface/src/tests.rs
|
// - compiler/rustc_interface/src/tests.rs
|
||||||
// - src/doc/unstable-book/src/compiler-flags
|
// - src/doc/unstable-book/src/compiler-flags
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Hash, PartialEq, Eq, Debug)]
|
|
||||||
pub enum WasiExecModel {
|
|
||||||
Command,
|
|
||||||
Reactor,
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue