Conversation
tests show that this workaround doesn't really work for release builds
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #321 +/- ##
=======================================
Coverage 100.0% 100.0%
=======================================
Files 152 152
Lines 9351 9337 -14
=======================================
- Hits 9351 9337 -14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
psandana
approved these changes
Mar 11, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Rolls back the previously introduced ptr_meta/vtable-based workaround in ohno after tests indicated it is unreliable in release builds, returning the crate to a simpler and more stable error-source handling approach.
Changes:
- Remove the
is_boxed_string_errorvtable-comparison logic and simplifyOhnoCore::from(...)for non-string inputs. - Drop the
ptr_metadependency from the workspace andohno. - Update tests and spelling dictionary entries to match the rollback.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| crates/ohno/src/lib.rs | Removes the crate-level forbid(unsafe_code) attribute. |
| crates/ohno/src/core.rs | Removes boxed-string-error vtable detection and adjusts From<T> + tests accordingly. |
| crates/ohno/Cargo.toml | Removes ptr_meta dependency from ohno. |
| Cargo.toml | Removes ptr_meta from workspace dependencies. |
| Cargo.lock | Removes ptr_meta package entries/edges after dependency removal. |
| .spelling | Updates custom dictionary entries to reflect removed text. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
martin-kolinek
approved these changes
Mar 11, 2026
Copilot AI
added a commit
that referenced
this pull request
Mar 11, 2026
…rollback (#321) Co-authored-by: psandana <1194304+psandana@users.noreply.github.com>
7 tasks
psandana
added a commit
that referenced
this pull request
Mar 11, 2026
…rollback (#321) Co-authored-by: psandana <1194304+psandana@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tests show that this workaround doesn't really work for release builds