Closed ZhongRuoyu closed 1 year ago
This was fixed in https://github.com/BurntSushi/fst/commit/11b1e3ba79dfa7f469af0236a8d5af1d5cf4a5e3, and the commit message explains why it broke. But I didn't put out a new release of fst-bin
. I can do that now.
I also didn't realize people were using fst-bin
. And note that it isn't the fst
crate that fails, it's the "debug" command line tool that comes with it and is really a separate thing.
This should be fixed in fst-bin 0.4.3
on crates.io.
Thanks for the quick response (and the new release)!
And sorry for missing that commit. I was specifically looking at the history of fst-bin/src/util.rs
, but as it turns out, that was the wrong direction.
Yeah it's a subtle failure. It results from Cargo doing feature unification which can easily be inadvertently be depended on, as happened here, unfortunately.
Hi! While packaging Rust 1.68.0 for Homebrew at https://github.com/Homebrew/homebrew-core/pull/125208, we noticed the following build error (full logs here, error starts here):
This happened to
fst-bin
version v0.4.2 on all macOS archs/versions, and on Linux (Ubuntu 22.04, x86_64). Some investigation revealed that this error occurs when dependencycsv
is at version v1.2.0 or greater (v1.2.1 in the above error), and is irrelevant to the Rust version (tested with Rust 1.67.1, too). When pinned to v1.1.3 (as shown below), the build succeeded.