Skip to main content

Module external_compiler

Module external_compiler 

Source
Expand description

External compiler adapter protocol and process transport.

Structsยง

AdapterClient ๐Ÿ”’
AdapterProcess ๐Ÿ”’
CacheEntry ๐Ÿ”’
CompileResult ๐Ÿ”’
CompilerIdentity ๐Ÿ”’
DiscoverResult ๐Ÿ”’
DiscoveredUnit ๐Ÿ”’
ExternalArtifact ๐Ÿ”’
ExternalCompilation ๐Ÿ”’
External artifacts and the unit inventory used to publish them.
ExternalDiagnostic ๐Ÿ”’
InitializeResult ๐Ÿ”’
PendingCache ๐Ÿ”’
ProtocolError ๐Ÿ”’
Request ๐Ÿ”’
Response ๐Ÿ”’

Constantsยง

EXTERNAL_ARTIFACT_DIR ๐Ÿ”’
EXTERNAL_CACHE_DIR ๐Ÿ”’
MAX_PROTOCOL_LINE_BYTES ๐Ÿ”’
PROTOCOL_VERSION ๐Ÿ”’

Functionsยง

emit_diagnostics ๐Ÿ”’
ensure_portable_child ๐Ÿ”’
external_artifact_is_test_eligible
Returns whether an artifact can be selected as a Forge test contract.
hash_part ๐Ÿ”’
is_builtin_compiler_source
Returns whether a path belongs to a compiler built into Foundry.
is_external_artifact
Returns whether an artifact was produced by an external compiler adapter.
normalize_root_path ๐Ÿ”’
read_cache ๐Ÿ”’
resolve_file ๐Ÿ”’
retire_children ๐Ÿ”’
storage_entries ๐Ÿ”’
validate_id ๐Ÿ”’
validate_relative_path ๐Ÿ”’
write_cache ๐Ÿ”’