mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 10:24:07 +00:00
2d999d762202af4128b2aca2d52e7b142e9685df
This PR places `set_option compiler.ignoreBorrowAnnotation true in` on to all `export`/`extern` pairs. This is necessary because `export` forces all arguments to be passed as owned while `extern` respects borrow annotations. The current approach to the `export`/`extern` trick was always broken but never surfaced. However, with upcoming changes many `export`/`extern` pairs are going to be affected by borrow annotations and would've broken without this.
This is the repository for Lean 4.
About
- Quickstart
- Homepage
- Theorem Proving Tutorial
- Functional Programming in Lean
- Documentation Overview
- Language Reference
- Release notes starting at v4.0.0-m3
- Examples
- External Contribution Guidelines
Installation
See Install Lean.
Contributing
Please read our Contribution Guidelines first.
Building from Source
See Building Lean.
Languages
Lean
94.3%
C++
4.1%
Python
0.6%
Shell
0.4%
CMake
0.3%