Skip to content

Conversation

proux01
Copy link
Contributor

@proux01 proux01 commented Sep 17, 2024

Adapt to rocq-prover/rocq#19530
This is an adaptation in anticipation of the day the temporary backward compatibility introduced in the upstream PR will be removed (probably a few years in the future).
Merging this is not required for the upstream PR, you can do whatever you want with it.

@charguer charguer merged commit 1a68190 into charguer:master Oct 30, 2024
@charguer
Copy link
Owner

Thanks. Yet, I had to change the require command to From Coq Requires ..., because otherwise it wouldn't compile on Coq 8.18. I do not quite understand what is the migration plan. If I understand well, I will need to replace From Coq by From Stdlib, but I'd like to do so while remaining compatible over several versions of Coq. How is that going to work?

@proux01
Copy link
Contributor Author

proux01 commented Oct 30, 2024

From Coq will keep working for a few versions (likely a few years) so you can either:

  • wait until you drop support for Coq 8.20 to introduce the From Stdlib
  • introduce From Coq now, silence the warning in _CoqProject and replace Coq with Stdlib when droping Coq 8.20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants