-
Notifications
You must be signed in to change notification settings - Fork 5
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
Using the sm-winit feature on UWP #56
Comments
Why are we using sm-winit on UWP? |
Because cargo loves to take the union of features. |
Trying to debug why cargo builds a dep with a feature is painful. Cargo really believes that adding a feature adds functionality. |
@asajeffrey I'm familiar with the cargo union, but confused about why we have uses of surfman that are requesting the sm-winit feature that are outside of ports/glutin. |
Me too. Did rust-lang/cargo#7756 change how features are resolved in workspaces, so the union of features is always taken? |
If a user builds with the
sm-winit
feature on UWP, there's a compile error caused bysurfman/surfman/src/platform/windows/angle/surface.rs
Lines 116 to 118 in fb78226
surfman/surfman/src/platform/windows/angle/connection.rs
Lines 117 to 127 in fb78226
The text was updated successfully, but these errors were encountered: