Skip to content

Conversation

jswrenn
Copy link
Collaborator

@jswrenn jswrenn commented Jun 9, 2025

We cannot support repr(C) because their discriminant size depends on the behavior of what Rust thinks the system C compiler will do, which we don't have visibility into.

Fixes #2537

We cannot support `repr(C)` because their discriminant size depends
on the behavior of what Rust thinks the system C compiler will do,
which we don't have visibility into.

Fixes #2537
@joshlf joshlf enabled auto-merge June 9, 2025 15:58
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.85%. Comparing base (570601f) to head (25d059d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2575   +/-   ##
=======================================
  Coverage   88.85%   88.85%           
=======================================
  Files          20       20           
  Lines        5312     5312           
=======================================
  Hits         4720     4720           
  Misses        592      592           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshlf joshlf added this pull request to the merge queue Jun 9, 2025
Merged via the queue into main with commit f69050c Jun 9, 2025
89 checks passed
@joshlf joshlf deleted the derive-frombytes-docfix branch June 9, 2025 16:35
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.

Document that derive(IntoBytes) does not support repr(C) enums
3 participants