Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referencing an incomplete cross-targeted library causes compilation errors #16230

Open
jeromelaban opened this issue Apr 11, 2024 · 0 comments
Open
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

Comments

@jeromelaban
Copy link
Member

What would you like to be added

When having an app that targets net8.0-android, net8.0-ios, net8.0-maccatalyst and net8.0, if a dependent target targets all those except net8.0-maccatalyst, maccatalyst in the head will use net8.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 and net8.0-browserwasm.

Why is this needed

The errors are cryptic.

For which platform

No response

Anything else we need to know?

No response

@jeromelaban jeromelaban added kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. area/build Categorizes an issue or PR as relevant to build infrastructure project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools and removed triage/untriaged Indicates an issue requires triaging or verification labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant