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

Automatically enable const evaluation #70

Merged
merged 1 commit into from
Dec 11, 2022
Merged

Conversation

gnaaman-dn
Copy link

When running on a compiler newer than 1.65,
automatically enable usage of the macro in const contexts.

Closes #4
Though we'll have to open a new one to track const-usage with cells.

@Gilnaa Gilnaa requested a review from RalfJung December 8, 2022 06:49
@Gilnaa
Copy link
Owner

Gilnaa commented Dec 8, 2022

(I apologize for the multiple users, accidentally opened the PR from the wrong browser window)

README.md Show resolved Hide resolved
build.rs Show resolved Hide resolved
When running on a compiler newer than 1.65,
automatically enable usage of the macro in const contexts.

Closes #4
@Gilnaa Gilnaa merged commit ee46412 into master Dec 11, 2022
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.

const_fn usage
3 participants