Skip to content

Conversation

@AliSajid
Copy link
Contributor

Signed-off-by: Ali Sajid Imami [email protected]### Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

This pull request introduces new license workarounds for the rustix and linux-raw-sys crates, ensuring proper handling of their multi-license structure and resolving issues with license parsing. The changes include documentation updates, new modules, and logic for license clarification.

Documentation Updates:

  • Added a section in docs/src/cli/generate/workarounds.md to describe the licensing details of the rustix and linux-raw-sys crates, including their triple-license structure and the workaround for parsing issues.

Code Changes:

New License Workaround Modules:

  • Added src/licenses/workarounds/rustix.rs to handle license clarification for the rustix crate. This includes parsing its license expression and associating it with specific license files and checksums.
  • Added src/licenses/workarounds/linux_raw_sys.rs to handle license clarification for the linux-raw-sys crate with similar logic as rustix.

Integration of New Modules:

  • Updated src/licenses/workarounds.rs to include the new rustix and linux_raw_sys modules and registered their license clarification logic in the WORKAROUNDS constant. [1] [2]

Related Issues

This closes #284

@AliSajid AliSajid requested a review from Jake-Shadle as a code owner May 23, 2025 14:27
@Jake-Shadle Jake-Shadle merged commit 34aa1be into EmbarkStudios:main Sep 5, 2025
1 check passed
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.

clearlydefined.io has trouble parsing the rustix license expression

2 participants