-
Notifications
You must be signed in to change notification settings - Fork 216
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 for #[cfg] on #[monotonic] #664
Comments
Scope goes beyond Monotonic. Also applies to Shared and Local. I also would like this. |
Hi, The cfg support in RTIC 1 is broken and on the path of wont-fix. |
As an experiment to see what can be done for RTIC 1 I've created #691 The obvious limitation, as shown in From the example, showing the rtic-syntax errors
|
As original author of this issue, my usecase doesn't exist anymore (I moved out of RTIC for different reasons). But for reference, my original usecase was: Use monotonic for |
I would like to feature-gate the monotonic type to only have it in some builds and not others. I tried the following but it doesn't work:
Then in
init
I have:Here's what I get when building without the feature (it works with the feature):
Is this something that might eventually get support for?
The text was updated successfully, but these errors were encountered: