-
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
No way to access the raw Z3_sort
from Sort<'ctx>
or Z3_context
from Context
#290
Comments
JakobR
added a commit
to JakobR/z3.rs
that referenced
this issue
May 29, 2024
waywardmonkeys
pushed a commit
that referenced
this issue
May 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most functionality around
Float
types is unbound. Adding bindings without editing or forking this library is impossible without the extreme hack of declaring copies of the structs and transmuting references between them to trick Rust into accessing the private fieldsz3_sort
orz3_ctx
.I was attempting to invoke
z3_sys
'sZ3_mk_fpa_to_fp_real
, but it requires raw access to theZ3_sort
values, as well as a rounding mode, but functions likez3_sys::Z3_mk_fpa_rne
require an instance of the rawZ3_context
, which lack a high-level wrapper.The text was updated successfully, but these errors were encountered: