Skip to content

Conversation

Qard
Copy link
Contributor

@Qard Qard commented Jun 12, 2025

This adds estrdup to alloc. This is needed with SAPI when ZTS is enabled as file_handles need their input path to be allocated in the PHP memory manager. I've also added a unit test for emalloc while I was in there, along with using efree, and added a cfg gate to a test which depended on anyhow errors.

I've omitted the docsrs_bindings.rs binding update for now until we figure out what the solution is to generating those correctly.

@Qard Qard force-pushed the add-estrdup branch 3 times, most recently from 9d9d00e to b3a46cd Compare June 12, 2025 12:04
@coveralls
Copy link

coveralls commented Jun 12, 2025

Pull Request Test Coverage Report for Build 15651099932

Details

  • 10 of 10 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.7%) to 21.838%

Totals Coverage Status
Change from base Build 15650590374: 0.7%
Covered Lines: 860
Relevant Lines: 3938

💛 - Coveralls

@Xenira Xenira merged commit aebb43a into davidcole1340:master Jun 17, 2025
36 checks passed
@davidcole1340 davidcole1340 mentioned this pull request Jun 17, 2025
@Qard Qard deleted the add-estrdup branch June 18, 2025 07:40
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.

3 participants