irx.builder.runtime.linking

irx.builder.runtime.linking

Source: packages/irx/src/irx/builder/runtime/linking.py

title: Conditional native linking helpers for runtime features.

Functions

compile_native_artifacts(artifacts: Sequence[NativeArtifact], build_dir: Path, clang_binary: str='clang', cxx_binary: str='c++') -> NativeLinkInputs

title: Compile or collect native artifacts for linking.
parameters:
  artifacts:
    type: Sequence[NativeArtifact]
  build_dir:
    type: Path
  clang_binary:
    type: str
  cxx_binary:
    type: str
returns:
  type: NativeLinkInputs

Classes

NativeLinkInputs

title: Collected native linker inputs for one build.
attributes:
  objects:
    type: tuple[Path, Ellipsis]
  linker_flags:
    type: tuple[str, Ellipsis]