Skip to main content

Module build

Module build 

Source
Expand description

Build system

Structs§

BuildOptions
Options for building Rust libraries.
BuildProgress
The sink a cargo build reports its CompileEvents into.
BuiltTarget
The outcome of one Cargo invocation: the profile directory everything landed under and the artifact Cargo reported for the selected target.
RustBuild
Represents a Rust build for a specific target triple.
RustDynamicLibraries
Dynamic Rust libraries required by a shared-runtime development build.

Enums§

BuildProfile
The optimization/debug-info trade-off a Cargo build selects.
CompileEvent
Cargo’s compile-phase progress: one event per status line cargo writes to stderr.
RustBuildError
Errors that can occur during the Rust build process.
RustLinkage
Selects how Rust dependencies are linked into a native application.

Functions§

configure_generated_crate_compilation
Configure a Cargo invocation that compiles one of WaterUI’s generated crates.
lib_extension_for_triple
Get the dynamic library extension for a target triple.
project_toolchain
The rustup toolchain a project’s builds run under: the one its own directory selects, whatever directory the generated crate compiles in.
rust_target_libdir
Resolve the Rust standard-library directory for a target triple under toolchain, the rustup toolchain the libraries were built with.