-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Compile panic on nightly compiling kamadak-exif
, assertion failed in byteorder
#50900
Comments
Tried a few different nightlies. And it looks like it broke sometime between This works
This panics
|
I have managed to get a much smaller example. Compiling this on nightly gives the above panic: #[derive(PartialEq, Eq)]
pub struct Tag(pub Context, pub u16);
#[derive(PartialEq, Eq)]
pub enum Context {
Tiff,
Exif,
}
impl Tag {
const ExifIFDPointer: Tag = Tag(Context::Tiff, 34665);
}
fn main() {
match Tag::ExifIFDPointer {
Tag::ExifIFDPointer => {}
}
} |
Looks like it's fixed in the newest nightly ( |
Bisecting between acd3871...ff2ac35 gives #50249 as the regression PR. |
Add test for issue-50900 Closes rust-lang#50900
Add test for issue-50900 Closes rust-lang#50900
I hope this is not already known, but my searching has not turned up anything.
Compiling a rust binary with the
kamadak-exif
dependency panices in nightly.How to reproduce:
kamadak-exif = "0.3.0"
to dependencies inCargo.toml
RUST_BACKTRACE=1 cargo run
This gives the following output
It compiles on stable and beta.
Edit: Just running
cargo build
in https://github.com/kamadak/exif-rs gives the same result.Meta
The text was updated successfully, but these errors were encountered: