Referencing an incomplete cross-targeted library causes compilation errors #16230
Labels
area/build
Categorizes an issue or PR as relevant to build infrastructure
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/enhancement
New feature or request
project/core-tools 🛠️
Categorizes an issue or PR as relevant to core and tools
What would you like to be added
When having an app that targets
net8.0-android
,net8.0-ios
,net8.0-maccatalyst
andnet8.0
, if a dependent target targets all those exceptnet8.0-maccatalyst
,maccatalyst
in the head will usenet8.0
causing build failures.The toolchain should report an invalid situation, particularly when a library cross-targets other known platforms.
Note that this particular behavior will be removed by the use of
net8.0-desktop
andnet8.0-browserwasm
.Why is this needed
The errors are cryptic.
For which platform
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: