API reference
python:irx:irx.builder.runtime.linking.link_executable
function link_executable
link_executable(primary_object: Path, output_file: Path, artifacts: Sequence[NativeArtifact], linker_flags: Sequence[str] = (), clang_binary: str = 'clang', cxx_binary: str = 'c++') -> None
Source: packages/irx/src/irx/builder/runtime/linking.py:113
Link the main object file plus optional runtime artifacts.
Parameters
-
primary_object — Type: Path
-
output_file — Type: Path
-
artifacts — Type: Sequence[NativeArtifact]
-
linker_flags — Type: Sequence[str]
-
clang_binary — Type: str
-
cxx_binary — Type: str