pub struct CompileOptions {
pub workload_dir: Option<PathBuf>,
pub polydat_lib_paths: Vec<PathBuf>,
pub strict: bool,
pub required_outputs: Vec<String>,
pub context_label: Option<String>,
pub cursor_limit: Option<u64>,
pub kernel_opt: KernelOptLevel,
}Expand description
Optional compile-time configuration passed through to
compile_polydat_with_libs when finalize compiles the body. When
every field is at its default, finalize falls back to the
minimal compile_ast_with_options path used by the do-loop bridge — no
behaviour change for the simplest synthesisers.
SRD-67 Phase 3 bridge hook: the for_each / op-template
synthesisers used to call compile_polydat_with_libs directly with
polydat_lib_paths, workload_dir, strict, and a context label.
Routing those concerns through the builder preserves byte-
identical compile output during migration.
Fields§
§workload_dir: Option<PathBuf>The directory relative data-file paths resolve against.
polydat_lib_paths: Vec<PathBuf>Library search paths.
strict: boolWhether to enforce strict validation.
required_outputs: Vec<String>The outputs to keep; every output when empty.
context_label: Option<String>The diagnostic context label, if any.
cursor_limit: Option<u64>A limit on every cursor’s extent, if any.
kernel_opt: KernelOptLevelSession-wide optimization level for op-template synthesis.
Release (the default) lets the closure-binding economy
DCE unreferenced slots; Diagnostic force-allocates every
magic-extern and result-binding-LHS slot so step-debug /
cycle-replay sees writes that the runtime would otherwise
drop on the floor. See KernelOptLevel.
Trait Implementations§
Source§impl Clone for CompileOptions
impl Clone for CompileOptions
Source§fn clone(&self) -> CompileOptions
fn clone(&self) -> CompileOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CompileOptions
impl Debug for CompileOptions
Source§impl Default for CompileOptions
impl Default for CompileOptions
Source§fn default() -> CompileOptions
fn default() -> CompileOptions
Auto Trait Implementations§
impl Freeze for CompileOptions
impl RefUnwindSafe for CompileOptions
impl Send for CompileOptions
impl Sync for CompileOptions
impl Unpin for CompileOptions
impl UnsafeUnpin for CompileOptions
impl UnwindSafe for CompileOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more