-
Notifications
You must be signed in to change notification settings - Fork 3
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
New: Allow skipping the clap
dependency via the cli
feature.
#39
Conversation
I actually don't know if the |
Good call making this optional.
I think we'd want We could technically do something like this in #[cfg(not(feature = "cli"))]
compile_error!("the feature 'cli' must be enabled to build the qcs-sdk-qir CLI"); I've tested & pushed up this addition, but feel free to change as you see fit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, there is a way to specify that a certain target (e.g. a binary) requires certain features. Maybe that is better here? |
@Shadow53 - good call, & TIL! If you'd like to update the PR, please feel free 👍 |
Updated:
|
No description provided.