google / google/zerocopy

Minimize dependencies from `Anneal.lean`, generated Lean

Open
#3,256 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.6k
Forks
179
Avg merge
1d 19h
Merged PRs (30d)
29

Description

Currently, we depend on all of `Aeneas` in `Anneal.lean`, leading to multi-second import times from `lake build`. Instead, we should:
- Minimize these imports
- Refactor `Anneal.lean` so that it contains distinct modules which only depend narrowly on the parts of `Aeneas` which they need
- Provide this library as an *external* dependency (perhaps installed via `cargo anneal setup`?) and, in generated Lean, only import the needed modules (and allow users to import more for their own annotations)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.