Skip to content

Conversation

BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Sep 30, 2025

Long symbol names were truncated, leading to duplicate names in the generated assembly file. This was making the compiler fail due to duplicate symbol names.

Long symbol names were truncated, leading to duplicate names in the generated assembly file. This was making the compiler fail due to duplicate symbol names.
@Copilot Copilot AI review requested due to automatic review settings September 30, 2025 13:59
Copy link
Contributor

@Copilot 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

This PR fixes a symbol name truncation issue in the Mono AOT (Ahead-of-Time) compiler by increasing the maximum symbol size limit from 256 to 1024 characters. This prevents duplicate symbol names in generated assembly files that were causing compiler failures.

  • Increases MAX_SYMBOL_SIZE constant from 256 to 1024 characters

@BrzVlad
Copy link
Member Author

BrzVlad commented Oct 1, 2025

/ba-g wasm-build-tests

@BrzVlad BrzVlad merged commit a7d6c95 into dotnet:main Oct 1, 2025
81 of 87 checks passed
@BrzVlad
Copy link
Member Author

BrzVlad commented Oct 1, 2025

/backport to release/10.0

Copy link
Contributor

github-actions bot commented Oct 1, 2025

Started backporting to release/10.0: https://github.com/dotnet/runtime/actions/runs/18163787106

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.

2 participants