Open
Description
This issue is originally reported by @kylebarron at #128887 (comment)
The geoarrow
crate does not compile in release mode on rust 1.82.0, despite compiling fine in debug mode or in rust 1.81.0.
The code can be obtained by:
git clone https://github.com/geoarrow/geoarrow-rs
cd geoarrow-rs
git checkout 0b6715c6a56f0115f9078803fae945700713b22f
The following commands give compilation errors:
rustup run 1.82 cargo build --release
rustup run nightly cargo build --release
The following commands compile fine without errors:
rustup run 1.81 cargo build --release
rustup run 1.81 cargo build
rustup run 1.82 cargo build
rustup run nightly cargo build
RUSTFLAGS='-Zinline-mir=no' rustup run nightly cargo build --release
Note that this is issue is distinct from the previous 1.80-to-nightly geoarrow regression, which is fixed in #129714 and tested in #129757.
@rustbot labels regression-from-stable-to-stable
Metadata
Metadata
Assignees
Labels
Area: MIR inliningCategory: This is a bug.High priorityRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.Working group: MIR optimizationsPerformance or correctness regression from one stable version to another.