Skip to content
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

unresolved import gradient::CGGradientDrawingOptions #393

Closed
kvark opened this issue Jun 27, 2020 · 3 comments
Closed

unresolved import gradient::CGGradientDrawingOptions #393

kvark opened this issue Jun 27, 2020 · 3 comments

Comments

@kvark
Copy link
Member

kvark commented Jun 27, 2020

See travis log:

error[E0432]: unresolved import `gradient::CGGradientDrawingOptions`

  --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.19.1/src/context.rs:15:28

   |

15 | use gradient::{CGGradient, CGGradientDrawingOptions};

   |                            ^^^^^^^^^^^^^^^^^^^^^^^^ no `CGGradientDrawingOptions` in `gradient`

error: cannot find macro `bitflags` in this scope

  --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.19.1/src/gradient.rs:22:1

   |

22 | bitflags! {

   | ^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0432`.

error: could not compile `core-graphics`.
@jdm
Copy link
Member

jdm commented Jun 27, 2020

How are you receiving this error? cargo build on macOS in the core-graphics subdirectory builds successfully for me.

@jdm
Copy link
Member

jdm commented Jun 27, 2020

Oh, this might be the same issue that was just fixed in #392, if you're building for iOS.

@jdm
Copy link
Member

jdm commented Jun 27, 2020

Published 0.19.2.

@jdm jdm closed this as completed Jun 27, 2020
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

No branches or pull requests

2 participants