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: remove cfg for defining function #55

Merged
merged 1 commit into from Jul 25, 2022
Merged

Conversation

roynalnaruto
Copy link
Collaborator

@roynalnaruto roynalnaruto commented Jul 25, 2022

Noticed this issue while publishing svm-builds: https://github.com/roynalnaruto/svm-rs/blob/master/svm-builds/build.rs#L151-L154

generate_offline is not compiled when _offline feature is not enabled. But the above snippet tries to use it.

I'm simply removing the #[cfg(feature = "_offline")] feature gate, so that generate_offline can be used in all cases where it's required.

@mattsse please have a look :)

@mattsse
Copy link
Collaborator

mattsse commented Jul 25, 2022

nice catch, forgot to rm the cfg last night

@roynalnaruto roynalnaruto merged commit 2c9310d into master Jul 25, 2022
@roynalnaruto roynalnaruto deleted the fix/generate-offline branch July 25, 2022 14:17
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.

None yet

2 participants