Skip to content

Conversation

@filipnavara
Copy link
Member

Ref: #58185

@ghost ghost added community-contribution Indicates that the PR has been added by a community member area-AssemblyLoader-mono and removed community-contribution Indicates that the PR has been added by a community member labels Aug 26, 2021
@ghost
Copy link

ghost commented Aug 26, 2021

Tagging subscribers to this area:
See info in area-owners.md if you want to be subscribed.

Issue Details

Ref: #58185

Author: filipnavara
Assignees: -
Labels:

area-AssemblyLoader-mono

Milestone: -

Copy link
Member

@akoeplinger akoeplinger left a comment

Choose a reason for hiding this comment

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

LGTM but I think we should also add ifdefs so we don't even try the retry_with_libcoreclr on mobile platforms where we don't have libcoreclr anyway

Copy link
Member

Choose a reason for hiding this comment

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

nit: check whether new_scope and orig_scope differ so we don't get duplicate library name in the normal case where a library is not redirected.

@akoeplinger
Copy link
Member

@filipnavara actually, I just saw that we define MONO_LOADER_LIBRARY_NAME for android so we might be using retry_with_libcoreclr there somehow? probably safer to just leave it for now

@filipnavara
Copy link
Member Author

I'll clean this up when I get a moment this week. I created it mostly as a reminder that it should be done and then I forgot about it... 😅

@filipnavara filipnavara marked this pull request as ready for review September 8, 2021 07:17
@filipnavara
Copy link
Member Author

I've reworked the logic a bit so this needs to be re-reviewed.

Copy link
Member

@lambdageek lambdageek left a comment

Choose a reason for hiding this comment

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

Ok.

(not something to address in this PR) This function is turning into spaghetti again.

@akoeplinger akoeplinger merged commit 29a5ff0 into dotnet:main Sep 9, 2021
@akoeplinger
Copy link
Member

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2021

@ghost ghost locked as resolved and limited conversation to collaborators Oct 9, 2021
@filipnavara filipnavara deleted the mono_dllimport branch June 5, 2025 07:45
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.

3 participants