2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-02-10 00:10:12 +03:00
Files
Krzysztof Nowicki d6ad14c67d dev-lang/rust: don't cross-compile profiler for bare-metal targets
By default Rust is build with profiler support for the native
architecture as well as for all cross-compiled targets due to
inheritance. However building the profiles for bare-metal targets will
result in an error due to lack of support.

Fix this by explicitly disabling profiling for such targets. This change
specifically addresses the UEFI targets, as they are susceptible to this
problem, but other similar targets may need to be added to the list.

Signed-off-by: Krzysztof Nowicki <krzysztof.a.nowicki@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45372
Closes: https://github.com/gentoo/gentoo/pull/45372
Signed-off-by: Sam James <sam@gentoo.org>
2026-01-15 21:00:12 +00:00
..