maturin icon indicating copy to clipboard operation
maturin copied to clipboard

Better error message when Rust version is too low

Open messense opened this issue 3 years ago • 2 comments

crates can specify their rustc version requirement: https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field, but currently the error message isn't good when Rust version it too low, for example https://github.com/datafusion-contrib/datafusion-python/issues/18

messense avatar Jan 26 '22 06:01 messense

To me datafusion-contrib/datafusion-python#18 looks like cargo bug as cargo metadata fails to report that it can't match a version because of a rust-version requirement

konstin avatar Jan 31 '22 12:01 konstin

I agree it's cargo bug, but old versions of cargo won't get fixed. It'd be nice to make the error message less confusing.

messense avatar Feb 04 '22 02:02 messense