-
Notifications
You must be signed in to change notification settings - Fork 124
Avoid panics when calling into dwrote
#260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dwrote
|
I think this will also need to bump the version of |
mrobinson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please increase the dwrote dependency version (might require a new release there) and also update the commit title to match the new PR title.
3372aeb to
2978461
Compare
|
I've updated the commit message per the new title. I don't think there's a published version with the required changes, so I've updated the |
|
Waiting on servo/dwrote-rs#65 so I can publish a new version. |
|
dwrote 0.11.3 is on crates.io. |
…ssertions-panicking Avoid panics when calling into `dwrote` (servo#260)
This PR removes some panicking code paths from the directwrite wrappers.
It builds off of servo/dwrote-rs#62 to consume the new fallible methods that result
Resultsinstead of panicking. Note that it needs a version bump in theCargo.tomlonce that is published.I also have servo/dwrote-rs#63 open so I can migrate more calls if that one lands.