-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Compile panic on nightly compiling kamadak-exif
, assertion failed in byteorder
#50900
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
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. |
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 28, 2019
Add test for issue-50900 Closes rust-lang#50900
Centril
added a commit
to Centril/rust
that referenced
this issue
Jul 28, 2019
Add test for issue-50900 Closes rust-lang#50900
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Uh oh!
There was an error while loading. Please reload this page.
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: