Skip to content

Disable building Swift interop tests on macOS with Native AOT#98667

Merged
kotlarmilos merged 5 commits intodotnet:mainfrom
kotlarmilos:bugfix/swift-interop-tests
Feb 20, 2024
Merged

Disable building Swift interop tests on macOS with Native AOT#98667
kotlarmilos merged 5 commits intodotnet:mainfrom
kotlarmilos:bugfix/swift-interop-tests

Conversation

@kotlarmilos
Copy link
Member

@kotlarmilos kotlarmilos commented Feb 19, 2024

Description

This PR disables building Swift interop tests with Native AOT.

Re: #98651 (comment)
Fixes #98611

@ghost
Copy link

ghost commented Feb 19, 2024

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

This PR disables building Swift interop tests with Native AOT.

Fixes #98611

Author: kotlarmilos
Assignees: kotlarmilos
Labels:

os-mac-os-x, area-NativeAOT-coreclr

Milestone: 9.0.0

@kotlarmilos kotlarmilos changed the title Disable Swift interop tests on macOS with Native AOT Disable building Swift interop tests on macOS with Native AOT Feb 19, 2024
@kotlarmilos kotlarmilos requested a review from jkotas February 19, 2024 16:58
Copy link
Member

@filipnavara filipnavara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that this fixes the build. Thanks!

@@ -4,7 +4,7 @@
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- Tracking issue: https://github.com/dotnet/runtime/issues/93631 -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think that we have plans to enable Swift interop on non-Apple platforms - the tracking issue should be only associated with CoreCLR support only. Something like:

<!-- Swift interop is supported on Apple platforms only --> 
<CLRTestTargetUnsupported Condition="'$(TargetsOSX)' != 'true' and '$(TargetsAppleMobile)' != 'true'>true</CLRTestTargetUnsupported>
<!-- Tracking issue: https://github.com/dotnet/runtime/issues/93631 -->
<CLRTestTargetUnsupported Condition="'$(RuntimeFlavor)' != 'mono'"'>true</CLRTestTargetUnsupported>

@kotlarmilos kotlarmilos merged commit 2e5d409 into dotnet:main Feb 20, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Swift interop tests fail to build for NativeAOT

3 participants