Crate midenc_session

Crate midenc_session 

Source

Re-exports§

pub use self::diagnostics::DiagnosticsHandler;
pub use self::diagnostics::Emitter;
pub use self::flags::CompileFlag;
pub use self::flags::CompileFlags;
pub use self::flags::FlagAction;
pub use miden_assembly;

Modules§

diagnostics
flags

Structs§

ArgMatches
Container for parse results.
FileName
HumanDuration
InputFile
This enum represents the types of raw inputs provided to the compiler
LibraryPath
Path to a module or a procedure.
LinkLibrary
A library requested by the user to be linked against during compilation
Options
This struct contains all of the configuration options for the compiler
OutputFiles
OutputTypes
Path
A slice of a path (akin to str).
PathBuf
An owned, mutable path (akin to String).
Session
This struct provides access to all of the metadata and configuration needed during a single compilation session.
Statistics
This struct contains various statistics about a compilation session

Enums§

ColorChoice
ColorChoice represents the color preferences of an end user.
DebugInfo
This enum describes what type of debugging information to emit in compiled programs
FileType
This represents the file types recognized by the compiler
InputType
InvalidInputError
An error that occurs when detecting the file type of an input
LibraryKind
The types of libraries that can be linked against during compilation
LibraryNamespace
Represents the root component of a library path, akin to a Rust crate name
LibraryPathComponent
Represents a component of a LibraryPath in LibraryPath::components
OptLevel
This enum describes the degree to which compiled programs will be optimized
OutputFile
OutputMode
The type of output to produce for a given OutputType, when multiple options are available
OutputType
This enum represents the type of outputs the compiler can produce
OutputTypeSpec
This type describes an output type with optional path specification
ProjectType
The type of project being compiled
RollupTarget
This enum describes the different rollup targets
TargetEnv
This enum describes the different target environments targetable by the compiler
Verbosity
This enum represents the type of messages produced by the compiler during execution
Warnings
This enum represents the behavior of the compiler with regard to warnings

Constants§

MIDENC_BUILD_REV
The git revision associated with the current compiler toolchain
MIDENC_BUILD_VERSION
The version associated with the current compiler toolchain

Statics§

STDLIB

Traits§

Emit
EmitExt
SourceManager
Writer
A trait that provides a subset of the std::io::Write functionality that is usable in no-std contexts.

Functions§

add_target_link_libraries
Add libraries required by the target environment to the list of libraries to link against only if they are not already present.