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

CPU functions broken in sim #460

Open
shanemadden opened this issue Oct 9, 2023 · 1 comment
Open

CPU functions broken in sim #460

shanemadden opened this issue Oct 9, 2023 · 1 comment
Labels
C-bug Category: This is a bug.

Comments

@shanemadden
Copy link
Collaborator

shanemadden commented Oct 9, 2023

possibly add alternate handling with the sim feature enabled? cpu::halt() is unavailable, and cpu::limit() and cpu::bucket() have also beed reported to be unavailable. Coalescing to 0 is likely preventing this from causing problems unless in dev mode.

@shanemadden shanemadden added the C-bug Category: This is a bug. label Oct 9, 2023
@asquared31415
Copy link
Contributor

I'm personally always of the opinion "if it's not meaningful, don't let the user even try", so I would disable those functions entirely on sim. I can put up a PR to do this if that's what we want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants