Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Update structs to remove 'zero type structs' for consumers. #89

Open
rthomas opened this issue Jul 27, 2017 · 1 comment
Open

Update structs to remove 'zero type structs' for consumers. #89

rthomas opened this issue Jul 27, 2017 · 1 comment

Comments

@rthomas
Copy link
Contributor

rthomas commented Jul 27, 2017

This is related to servo/core-text-rs#62 to remove the warnings when building.

The offending types for core-text are CGAffineTransform and CGContextRef.

Other warnings in the crate should also be cleaned up or silenced. The method for the two listed types can be found at rust-lang/rust#27303

@rthomas
Copy link
Contributor Author

rthomas commented Jul 27, 2017

@jdm I've raised this to track the work for this crate.

rthomas added a commit to rthomas/core-graphics-rs that referenced this issue Jul 27, 2017
This follows the servo pattern mentioned in
rust-lang/rust#27303 to replace the zero-sized
structs with an `enum`.
rthomas added a commit to rthomas/core-graphics-rs that referenced this issue Jul 27, 2017
Changes zero-sized structs to an `enum` and removed unused macro use statement.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant