-
Notifications
You must be signed in to change notification settings - Fork 109
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
Use an "implicit" Context
?
#261
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is tempting to move to using a
thread_local!(static CONTEXT: Option<z3::Context> = None)
and some helper functions to have a scoped Context ... this would let us remove a bunch (all?) of theContext
parameters to the various functions in thez3
crate.This would help make the API look more like the Python or JS APIs, while still letting people have multiple contexts if they need them.
The text was updated successfully, but these errors were encountered: