Skip to content

Conversation

@usamoi
Copy link
Contributor

@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.

@onethumb onethumb merged commit c751046 into awesomized:main Oct 30, 2025
onethumb added a commit that referenced this pull request Oct 30, 2025
* [Improve runtime feature detection (and performance)](#21)
* [remove libc](#20)
* [Enable generating and publishing binary packages](#22)
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.

2 participants