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

Static items are ignored #1127

Open
karthikbhargavan opened this issue Nov 22, 2024 · 0 comments
Open

Static items are ignored #1127

karthikbhargavan opened this issue Nov 22, 2024 · 0 comments
Labels
bug Something isn't working needs-triage Mark an issue that needs triage: add label, add more contents

Comments

@karthikbhargavan
Copy link
Contributor

karthikbhargavan commented Nov 22, 2024

use std::sync::RwLock;
static POLYCACHE: RwLock<u8> = RwLock::new(0);

pub fn f() {}

https://hax-playground.cryspen.com/#fstar/ce1554f401/gist=77f9c4a7b0923840b2f5e2cee857979d

When using a static item, hax ignores it, and this results in undefined references.

@franziskuskiefer franziskuskiefer added bug Something isn't working needs-triage Mark an issue that needs triage: add label, add more contents labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Mark an issue that needs triage: add label, add more contents
Projects
None yet
Development

No branches or pull requests

2 participants