Skip to content

Disable attribute trimming android 124958#125863

Open
vitek-karas wants to merge 2 commits intodotnet:mainfrom
vitek-karas:disable-attribute-trimming-android-124958
Open

Disable attribute trimming android 124958#125863
vitek-karas wants to merge 2 commits intodotnet:mainfrom
vitek-karas:disable-attribute-trimming-android-124958

Conversation

@vitek-karas
Copy link
Member

Disable AttributeTrimming test on Android.

The test is very sensitive to specific trimming behavior, but running it on Android adds a lot of code from the Android hosting/interop which influences trimming and thus makes the test unpredictable.

Fixes #124958

vitek-karas and others added 2 commits March 20, 2026 12:42
Temporarily disable the NativeAOT smoke test on Android while issue dotnet#124958 is investigated.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Disables the NativeAOT AttributeTrimming smoke test when targeting Android to avoid intermittent/unpredictable trimming outcomes caused by additional Android hosting/interop code influencing the linker, aligning with the failure described in #124958.

Changes:

  • Mark AttributeTrimming as unsupported on Android via CLRTestTargetUnsupported.
  • Add an explanatory comment documenting why Android is excluded.

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android emulator app crash (SIGABRT) during AttributeTrimming.WorkItemExecution (XHarness APP_CRASH)

3 participants