-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Description
I was trying to run oxipng
(PNG optimization software in Rust), but it did not finish correctly; it terminated with the message Illegal instruction
.
The computer I was using was running Windows 7 on the x86_64 Intel Core i5-650, and I installed and ran oxipng
through Cygwin bash.
I installed oxipng
with cargo install oxipng
and invoked oxipng
with oxipng example.png
(in a directory containing a valid example.png
).
oxipng
gave this output:
Processing: example.png
2048x2048 pixels, PNG format
4x8 bits/pixel, RGBA
IDAT size = 183755 bytes
File size = 183812 bytes
Illegal instruction
There were no errors when I was installing oxipng
, nor when I ran oxipng --help
. I have tried oxipng
on other images with similar results.
(I understand this seems focused on oxipng
, but someone I talked to outside of Github had oxipng
working on their device and said the issue should be here.)
I was using rustc
stable version 1.45.2
and cargo 1.45.1
.