Skip to main content

read_compatibility_shim

Function read_compatibility_shim 

Source
pub fn read_compatibility_shim(
    path: &Path,
) -> Result<Option<CompatibilityImport>, FoundationError>
Expand description

Read the legacy compatibility shim. The shim is a small JSON file that lives under ~/.oxi/foundation/v1/compatibility.json and is produced by the host’s compatibility installer. oxicode never fabricates one.