Skip to content

[browser] move -g back to _EmccCommonFlags #115770

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

Merged
merged 1 commit into from
May 20, 2025

Conversation

pavelsavara
Copy link
Member

Followup on #115624

@pavelsavara pavelsavara added this to the 10.0.0 milestone May 20, 2025
@pavelsavara pavelsavara self-assigned this May 20, 2025
@Copilot Copilot AI review requested due to automatic review settings May 20, 2025 09:07
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm labels May 20, 2025
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

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 moves the "-g" debug flag from the _EmccCFlags group back to the _EmccCommonFlags group as a followup to a previous change.

  • The debug flag "-g" is now added to _EmccCommonFlags with a condition based on WasmNativeDebugSymbols.
  • The same flag is removed from _EmccCFlags to avoid redundant or conflicting settings.
Comments suppressed due to low confidence (2)

src/mono/browser/build/BrowserWasmApp.targets:352

  • Removing '-g' from _EmccCFlags is intentional; please ensure that any build steps that expected the debug flag in this group are updated to reference _EmccCommonFlags.
<_EmccCFlags Include="-g"                                Condition="'$(WasmNativeDebugSymbols)' == 'true'" />

src/mono/browser/build/BrowserWasmApp.targets:325

  • Moving '-g' to _EmccCommonFlags centralizes its application; please verify that debug symbols are applied as intended in all build stages that previously relied on _EmccCFlags.
<_EmccCommonFlags Include="-g"                                       Condition="'$(WasmNativeDebugSymbols)' == 'true'" />

@pavelsavara
Copy link
Member Author

/ba-g CI timeouts

@pavelsavara pavelsavara merged commit 4f4045d into dotnet:main May 20, 2025
32 of 37 checks passed
@pavelsavara pavelsavara deleted the g_EmccCommonFlags branch May 20, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants