API reference

python:arxpy:arxpy.Compiler.compile_file

method compile_file

compile_file(path: str | Path, *, kind: ArtifactKind = ArtifactKind.AUTO, output: str | Path | None = None, link_mode: Literal['auto', 'pie', 'no-pie'] = 'auto') -> CompilationArtifact

Source: packages/arxpy/src/arxpy/compiler.py:685

Declared as: python:arxpy:arxpy.compiler.Compiler.compile_file

Parse and compile one source file.

Parameters

Returns

Type: CompilationArtifact

Search documentation

Type to search.