silk.build.setting.
Deferred compilation settings resolved by the graph runner.
Import as Setting with import silk.build.setting { Setting }.
Public declarations: 9.
TextField#
pub enum TextFieldTarget#
TargetCpu#
CpuDeployment#
DeploymentLibc#
LibcEntry#
EntryRuntime#
RuntimeLink#
LinkCodeModel#
CodeModelRelocation#
RelocationSafety#
SafetyThreading#
ThreadingUnwind#
UnwindBackend#
BackendImplementation Schema for TextField#
impl Schema for TextFieldOperation read#
effect fn read<R: SchemaReader>(reader: &mut R) -> Self
! Issue | OutOfMemoryError
? &mut AllocatorOperation write#
effect fn write<W: SchemaWriter>(self: &Self, writer: &mut W) -> ()
! Issue | WriterError | OutOfMemoryError
? &mut Writer | &mut AllocatorNumberField#
pub enum NumberFieldCodegenUnits#
CodegenUnitsMaxMemory#
MaxMemoryStackSize#
StackSizeImplementation Schema for NumberField#
impl Schema for NumberFieldOperation read#
effect fn read<R: SchemaReader>(reader: &mut R) -> Self
! Issue | OutOfMemoryError
? &mut AllocatorOperation write#
effect fn write<W: SchemaWriter>(self: &Self, writer: &mut W) -> ()
! Issue | WriterError | OutOfMemoryError
? &mut Writer | &mut AllocatorListField#
pub enum ListFieldCpuFeatures#
CpuFeaturesSanitizers#
SanitizersImplementation Schema for ListField#
impl Schema for ListFieldOperation read#
effect fn read<R: SchemaReader>(reader: &mut R) -> Self
! Issue | OutOfMemoryError
? &mut AllocatorOperation write#
effect fn write<W: SchemaWriter>(self: &Self, writer: &mut W) -> ()
! Issue | WriterError | OutOfMemoryError
? &mut Writer | &mut AllocatorSetting#
pub union SettingA setting whose dependencies enter the compilation key before its value is read.
Text#
TextField field#
pub field: TextFieldField value#
pub value: Deferred<String>Number#
NumberField field#
pub field: NumberFieldField value#
pub value: Deferred<u64>Texts#
TextsField field#
pub field: ListFieldField value#
pub value: Deferred<List<String>>Optimization#
OptimizationField value#
pub value: Deferred<Optimize>Debug#
DebugField value#
pub value: Deferred<bool>Runner#
RunnerField value#
pub value: Deferred<Runner>StandardLibrary#
StandardLibraryField path#
pub path: Deferred<Path>Platform#
PlatformField value#
pub value: Deferred<Platform>Windows#
WindowsField value#
pub value: Deferred<Windows>MacOS#
MacOSField value#
pub value: Deferred<MacOS>Wasm#
WasmField value#
pub value: Deferred<Wasm>Header#
HeaderField value#
pub value: Deferred<String>ImportLibrary#
ImportLibraryField value#
pub value: Deferred<String>Emit#
EmitField value#
pub value: Deferred<String>Root#
RootField path#
pub path: Deferred<Path>ModuleFile#
ModuleFileField name#
pub name: StringField path#
pub path: Deferred<Path>Native#
NativeField language#
pub language: StringField path#
pub path: Deferred<Path>Field flags#
pub flags: Deferred<List<String>>Field include#
pub include: List<Deferred<Path>>LinkFile#
LinkFileField kind#
pub kind: StringField path#
pub path: Deferred<Path>LinkName#
LinkNameField kind#
pub kind: StringField name#
pub name: Deferred<String>Field mode#
pub mode: Option<String>Field weak#
pub weak: boolField needed#
pub needed: boolFunctionOrder#
FunctionOrderField path#
pub path: Deferred<Path>Package#
PackageField alias#
pub alias: StringField settings#
pub settings: PackageImplementation Schema for Setting#
impl Schema for Settingreplaces#
pub fn replaces(later: &Setting, earlier: &Setting) -> boolReports whether a later setting replaces an earlier setting's value and inputs.
clearReplaced#
pub fn clearReplaced(definition: &mut Definition, setting: &Setting) -> ()Removes physical inputs replaced by deferred settings before the definition is keyed.
key#
pub effect fn key(setting: &Setting, key: &mut Key) -> ()
! StepFailure
? &mut AllocatorAdds a setting's identity and all deferred inputs to the compilation key.
apply#
pub effect fn apply(setting: &Setting, make: &mut Make, definition: &mut Definition) -> ()
! StepFailure
? &mut AllocatorResolves a setting only after its declared prerequisites have completed.
keyValues#
pub effect fn keyValues(values: &Values, key: &mut Key) -> ()
! StepFailure
? &mut AllocatorDeclares every physical input already present in a compilation definition.
Profiles: aarch64-apple-darwin, aarch64-unknown-linux-gnu, aarch64-unknown-linux-gnu-no-libc, x86_64-unknown-linux-gnu, x86_64-unknown-linux-gnu-no-libc, wasm32-unknown-unknown, wasm32-wasip1, wasm32-wasip2, x86_64-pc-windows-msvc, wasm64-unknown-unknown.