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

[trimming] remove $(NullabilityInfoContextSupport) #9069

Merged

Conversation

jonathanpeppers
Copy link
Member

Context: dotnet/runtime#103970
Context: #9062 (comment)

This setting was removed in dotnet/runtime#103970, so it doesn't do anything.

@jonathanpeppers
Copy link
Member Author

@sbomer is it possible this NullabilityInfoContextSupport switch still does something?

The apk regression tests failed:

stdErr: Error: apkdiff: File 'lib/arm64-v8a/lib_Mono.Android.dll.so' has changed by 26,289 bytes (5.2
...
61,440 Package size difference 0.59% (of 10,345,555)

@sbomer
Copy link
Member

sbomer commented Jul 1, 2024

@eiriktsarpalis would know better. It's possible the change still needs to go through dependency flow, since it was made recently.

@jonathanpeppers
Copy link
Member Author

jonathanpeppers commented Jul 1, 2024

Ok, it might be we can merge this one after:

We saw some minor size changes in that one as well.

@jonathanpeppers jonathanpeppers marked this pull request as draft July 1, 2024 18:34
Context: dotnet/runtime#103970
Context: dotnet#9062 (comment)

This setting was removed in dotnet/runtime#103970, so it doesn't do anything.
@jonathanpeppers jonathanpeppers marked this pull request as ready for review July 2, 2024 14:03
@jonathanpeppers
Copy link
Member Author

Ok, after the .NET SDK bump, it appears that removing $(NullabilityInfoContextSupport) doesn't affect the apk size tests anymore.

@jonpryor jonpryor merged commit 77f5fdd into dotnet:main Jul 2, 2024
57 checks passed
@jonathanpeppers jonathanpeppers deleted the NullabilityInfoContextSupport branch July 2, 2024 16:30
grendello added a commit that referenced this pull request Jul 5, 2024
* main:
  [tests] verify trimmer warnings where appropriate (#9076)
  Bump to jbevain/cecil@8c123e1 (#9078)
  [trimming] remove `$(NullabilityInfoContextSupport)` (#9069)
  [build] Bump `$(XABuildToolsVersion)`=35 (#9071)
  [ci] Move PR build to shared pool (#8854)
  Use AsyncTask from xamarin-android-tools (#9017)
  Bump to dotnet/sdk@02c06d398a 9.0.100-preview.7.24351.1 (#9067)
  [trimming] use public `$(MetricsSupport)` property (#9068)
  [ci] Update resourceManagement.yml (#9070)
  Bump to dotnet/android-api-docs@c14203771a (#8992)
  [trimming] remove `$(_AggressiveAttributeTrimming)` by default (#9062)
@github-actions github-actions bot locked and limited conversation to collaborators Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants