Upgrade to cxx 1.0.x. This is a breaking change in two main ways:
- In
cxx
1.0.x, mutating methods can only be called on pinned types. This requires callers to usepin_mut()
onUniquePtr
instances. cxx
1.0.x requires anunsafe
keyword to be specified, and we're following a similar policy. Eitherunsafe
needs to be specified once for the entire autocxx block (insafety!(unsafe)
) or for each method.