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

Handle not truncating root folder in CorUnix::InternalCanonicalizeRealPath for all architectures instead of only amd64 #110425

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

elinor-fung
Copy link
Member

@elinor-fung elinor-fung commented Dec 5, 2024

We had this handling (of not truncating if the path is right in the root folder /) ifdef-ed under HOST_AMD64 for some reason. As a result, on other architectures we determine that the path doesn't exist and fail to load any assemblies from the root. This change simply removes the ifdef such that we have this handling on all architectures.

Fixes #109593. Manually validated in a linux arm64 container.

…lPath for all architectures instead of only amd64
Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

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.

Loading assemblies from root folder / fails on linux arm64 (error code 0x80070002)
2 participants