Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: lake: whitelist loaded config olean env exts #2896

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

tydeu
Copy link
Member

@tydeu tydeu commented Nov 16, 2023

Closes #2632. Supersedes #2836.

Loads only the Lake attributes, docstrings, and IR from the configuration olean.

@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Nov 16, 2023
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Nov 16, 2023
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Nov 16, 2023
@leanprover-community-mathlib4-bot
Copy link
Collaborator

leanprover-community-mathlib4-bot commented Nov 16, 2023

@tydeu tydeu requested a review from Kha November 17, 2023 02:56
@tydeu tydeu added the awaiting-review Waiting for someone to review the PR label Nov 17, 2023
@tydeu
Copy link
Member Author

tydeu commented Nov 17, 2023

@Kha I requested your review simply for a quick sanity check since the olean code is still a bit of a hack and thus finicky. I don't think there any major questions here.

src/lake/Lake/Load/Elab.lean Outdated Show resolved Hide resolved
src/lake/Lake/Load/Elab.lean Outdated Show resolved Hide resolved
src/lake/tests/meta/test.sh Outdated Show resolved Hide resolved
@tydeu tydeu force-pushed the lake/envext-whitelist branch 2 times, most recently from 38d6c23 to 9568599 Compare November 17, 2023 17:53
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Nov 17, 2023
@tydeu tydeu merged commit e29c323 into leanprover:master Nov 17, 2023
16 checks passed
@tydeu tydeu deleted the lake/envext-whitelist branch November 17, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review Waiting for someone to review the PR builds-mathlib CI has verified that Mathlib builds against this PR toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lake segmentation fault
3 participants