Open 1over137 opened 2 years ago
This issue is fixed in the latest master (and you seem to be installing the 0.3.1 release -- which does not contain the fix). However you will need Rust 1.59 to build anything at/after commit b0bb468 since inline assembly is now required to build av1an, starting at that commit.
So the latest release is actually broken? How did it compile on other platforms then?
It's not broken per se -- the cause of this is that cargo (by default) automatically updates every dependency to the latest API compatible version, specified by semver. One of our dependencies, indicatif, just incremented their version after we released 0.3.1 in such a way that cargo updates to it when it should not (since it has API incompatible changes), i.e. it breaks semver. This is presumably because we use a pre-release version of indicatif for some features, and the authors of indicatif did not think of that edge case -- that someone would actually be using that on crates.io and it would break their builds when publishing a semver-breaking release. The "fix" is to just force cargo to use an exact version of indicatif. Before this new release of indicatif was published on crates.io, i.e. at the time of the actual 0.3.1 release of av1an, everything was working fine (it's not actually a platform specific compilation issue).
System: Gentoo Kernel: 5.13.4 Rust: 1.58.1 No other cargo packages installed afaik.
$ cargo install av1an