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

Support cfg attribute on Nightly Rust #10

Merged
merged 11 commits into from
Sep 18, 2023
Merged

Support cfg attribute on Nightly Rust #10

merged 11 commits into from
Sep 18, 2023

Conversation

vbkaisetsu
Copy link
Member

@vbkaisetsu vbkaisetsu commented Sep 16, 2023

This pull request supports #[cfg(...)] attributes for conditional compilation.
This feature uses the proc_macro_expand feature gate to evaluate attributes, so this feature is only available with Nightly Rust.

Fixes: #9

@vbkaisetsu vbkaisetsu mentioned this pull request Sep 16, 2023
@vbkaisetsu vbkaisetsu marked this pull request as ready for review September 18, 2023 01:54
src/lib.rs Outdated Show resolved Hide resolved
tests/tests.rs Show resolved Hide resolved
@vbkaisetsu vbkaisetsu merged commit 29deec4 into main Sep 18, 2023
4 checks passed
@vbkaisetsu vbkaisetsu deleted the cfg-attribute branch September 18, 2023 06:43
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.

Support conditions
2 participants