b9d5b588fa
On certain platforms including Android and `aarch64` `c_char` is unsigned, resulting in the same `u8` type as the byte-string here making the cast redundant. Just like any other code calling `get_instance_proc_addr`, use `CStr::from_bytes_with_nul_unchecked` which abstracts away any pointer-cast. |
||
---|---|---|
.. | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT |