Skip to content

Conversation

usamoi
Copy link

@usamoi usamoi commented Oct 8, 2025

The Problem

This library does not really depend on libc; it only uses libc::c_char once, which can be replaced with std::os::raw::c_char. I discovered this when trying to compile for a target that doesn't have libc.

The Solution

Change libc::c_char to c_char and remove libc = "0.2" from Cargo.toml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant