Skip to content

[browser] move -g back to _EmccCommonFlags - #115770

Merged
pavelsavara merged 1 commit into
dotnet:mainfrom
pavelsavara:g_EmccCommonFlags
May 20, 2025
Merged

pavelsavara merged 1 commit into
dotnet:mainfrom
pavelsavara:g_EmccCommonFlags

Conversation

@pavelsavara

Copy link
Copy Markdown
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 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
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member Author

/ba-g CI timeouts

@pavelsavara
pavelsavara merged commit 4f4045d into dotnet:main May 20, 2025
@pavelsavara
pavelsavara deleted the g_EmccCommonFlags branch May 20, 2025 14:07
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

4 participants