You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A build-script was introduced, I assume to reduce lengthy cfg!(). Sadly it doesn't work as intended. target_os, target_env &co inside a build-script correspond to the host, not the real target, as the build-script is always compiled to be run on the host. This leads to rlimit__has_prlimit64 being set, based on the linux host having that feature, when the target is actually macOS, which shouldn't have it (it seems)
The text was updated successfully, but these errors were encountered:
Cross compilation is somewhat broken in 0.10.0 due to the use of a build-script to set cfg flags.
To reproduce, on linux (no need for a full CC toolchain with clang, rustc is enough):
A build-script was introduced, I assume to reduce lengthy
cfg!()
. Sadly it doesn't work as intended.target_os
,target_env
&co inside a build-script correspond to the host, not the real target, as the build-script is always compiled to be run on the host. This leads torlimit__has_prlimit64
being set, based on the linux host having that feature, when the target is actually macOS, which shouldn't have it (it seems)The text was updated successfully, but these errors were encountered: