I am not sure if this is an actually build as I am not sure what is the proper definition of CONDA_BUILD_CROSS_COMPILATION , but while migrating a non-trivial recipe, I noticed that rattler-build always defines the CONDA_BUILD_CROSS_COMPILATION to 1 in noarch: python builds, while conda-build does not define it.
Reproducer available at https://gist.github.com/traversaro/7bc2f2cc45c6dd48ba953cf2669bfc4b (courtesy of Claude 4):
git clone https://gist.github.com/traversaro/7bc2f2cc45c6dd48ba953cf2669bfc4b repr1784
cd repr1784
# Success (CONDA_BUILD_CROSS_COMPILATION is not defined)
pixi run reproduce-conda-build
# Failure (CONDA_BUILD_CROSS_COMPILATION is defined to 1)
pixi run reproduce-rattler-build