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

0.19 fails to build on Windows #11

Closed
chadaustin opened this issue Mar 19, 2023 · 1 comment
Closed

0.19 fails to build on Windows #11

chadaustin opened this issue Mar 19, 2023 · 1 comment

Comments

@chadaustin
Copy link

error[E0515]: cannot return reference to temporary value
  --> C:\Users\Chad\.cargo\registry\src\github.com-1ecc6299db9ec823\libheif-rs-0.19.0\src\utils.rs:45:26
   |
45 |                 .map(|b| b.to_ne_bytes().iter())
   |                          ---------------^^^^^^^
   |                          |
   |                          returns a reference to data owned by the current function
   |                          temporary value created here
   |
   = help: use `.collect()` to allocate the iterator

For more information about this error, try `rustc --explain E0515`.
error: could not compile `libheif-rs` due to previous error
@Cykooz
Copy link
Owner

Cykooz commented Mar 19, 2023

I have fixed this in v0.19.1

@Cykooz Cykooz closed this as completed Mar 19, 2023
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