Skip to content

LLBC backend: name the output file after the crate #5049

Description

@feliperodri

kani file.rs -Zlean writes <crate>__<mangled harness name>.symtab.llbc, e.g. slots__RNvCs7gR8bkgrJQB_5slots4main.symtab.llbc. Aeneas derives the Lean module name from the file name, so the generated module is SlotsRNvCs7gR8bkgrJQB5slots4main.symtab and every user has to rename the file before running Aeneas (the experiment from #5045 does cp slots__*.llbc slots.llbc).

The LLBC is per crate, not per harness, so one file named after the crate (slots.llbc), or a --dest-file option like Charon's, would make the output usable as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Z-UnstableFeatureIssues that only occur if a unstable feature is enabled[C] Feature / EnhancementA new feature request or enhancement to an existing feature.

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions