Module cargo::core::compiler [−][src]
Modules
standard_lib | Code for building the standard library. |
unit_dependencies | Constructs the dependency graph for compilation. |
Structs
BuildConfig | Configuration information for a rustc build. |
BuildContext | The build context, containing all information about a build task. |
BuildOutput | Contains the parsed output of a custom build script. |
BuildScripts | Linking information for a |
Compilation | A structure returning the result of a compilation. |
CompileTarget | Abstraction for the representation of a compilation target that Cargo has. |
Context | Collection of all the stuff that is needed to perform a build. |
DefaultExecutor | A |
Doctest | |
TargetConfig | Information required to build for a target. |
TargetInfo | Information about the platform target gleaned from querying rustc. |
Unit | All information needed to define a unit. |
UnitInterner | A small structure used to “intern” |
Enums
CompileKind | Indicator for how a unit is being compiled. |
CompileMode | The general “mode” for what to do.
This is used for two purposes. The commands themselves pass this in to
|
FileFlavor | Kind of each file generated by a Unit, part of |
Freshness | Indication of the freshness of a package. |
MessageFormat | |
ProfileKind |
Traits
Executor | A glorified callback for executing calls to rustc. Rather than calling rustc
directly, we’ll use an |
Functions
is_bad_artifact_name |
Type Definitions
BuildScriptOutputs | Map of packages to build script output. |