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
#960 introduces a feature where types mentioned in extern blocks, for example, aren't rewritten. This leads to a situation such as the following:
foo /* has CELL permissions */ = bar.connection /* is FIXED */
and with that the rewriter wants to generate a cast that's not yet supported:
TypeDesc { own: RawMut, qty: Single, pointee_ty: connection } -> TypeDesc { own: Cell, qty: Single, pointee_ty: connection }
The above is only one example of an unsupported cast kind that will need to be supported for lighttpd. The extent of the known cases have been temporarily disabled.
The text was updated successfully, but these errors were encountered:
Fixes#964 . The `lighttpd-minimal` test had failures due to unsupported
casts that the rewriter wanted to emit, namely in going to and from
`*mut T` and `Cell<T>`. This adds support for those casts via:
- an `as_ptr()` rewrite for `Cell<T>`, which produces the underlying
`*mut T`
- a `*mut T -> *const Cell<T> -> &Cell<T>` rewrite, accomplished through
a pointer-to-pointer cast followed by a reborrow `&*c` where `c: *const
Cell<T>`
#960 introduces a feature where types mentioned in
extern
blocks, for example, aren't rewritten. This leads to a situation such as the following:and with that the rewriter wants to generate a cast that's not yet supported:
The above is only one example of an unsupported cast kind that will need to be supported for
lighttpd
. The extent of the known cases have been temporarily disabled.The text was updated successfully, but these errors were encountered: