You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is bug in our codegen, I fear (especially because we do dereference pointers we get), since we indeed emit both readonly and readnone. Interesting this is only caught by an optimisation pass, though...
This is a bug in LLVM. There are two functions that call each other and have a pointer argument that is only used in the mutual calls. In that case, the pointer argument gets the readnone attribute, but if there's already a readonly attribute present, that is not removed and the verifier complains.
When I use cargo to set
[profile.dev]
to useopt-level = 1
,cargo build
fails with this error. Any other opt-level and it's fine.The project that I'm getting this error on is private for now, but it is breaking when compiling typemap v0.2.1.
The text was updated successfully, but these errors were encountered: