-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[wasm] Disallow not useful configuration combinations #104149
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
Changes from all commits
87e7399
3a2c963
6c3ef4c
a60e430
c87e7da
4fc8e2a
afb6e0d
ca1b119
7451fde
35aedcd
90132be
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -247,7 +247,7 @@ | |||||||
<ItemGroup> | ||||||||
<UpToDateCheckInput Include="@(NativeFileReference)" /> | ||||||||
</ItemGroup> | ||||||||
|
||||||||
<PropertyGroup> | ||||||||
<_WasmDebuggerSupport Condition="'$(WasmDebugLevel)' != '' and '$(WasmDebugLevel)' != '0'">true</_WasmDebuggerSupport> | ||||||||
<_WasmDebuggerSupport Condition="'$(WasmDebugLevel)' != '' and '$(WasmDebugLevel)' == '0'">false</_WasmDebuggerSupport> | ||||||||
|
@@ -621,6 +621,8 @@ | |||||||
|
||||||||
<Error Condition="'$(RunAOTCompilation)' == 'true' and '$(PublishTrimmed)' != 'true'" | ||||||||
Text="AOT is not supported without IL trimming (PublishTrimmed=true required)." /> | ||||||||
<Error Condition="'$(RunAOTCompilation)' == 'true' and '$(Configuration)' == 'Debug'" | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the true underlaying requirement for AOT? The configuration name "Debug" is just a name, user can have a custom name. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We rely on
Line 495 in 27d1ab0
Do you mean that there's a better property to check if we have debug symbols available? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm aware of other places (that they exist) and every now and then they fail for some user with custom config name (there not much of them, but such users exist). So I would like to know if there is a better property to check and hence the question what is the true underlaying requirement for AOT compiler, so we could check that requirement instead. If the requirement is one of the places where we check for config==debug, there is nothing to do about it. If the requirement is something different with some concrete property value, it would be great to check that property. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. The requirement: runtime without optimization (so debug-friendly) will take long time to build app with AOT and in the end it won't support managed debugging, so there was no point. Useful properties would be connected with managed debugging or optimization on/off (looking for such...). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not able to find a good alternative |
||||||||
Text="AOT is not supported in debug configuration (Configuration=Release required)." /> | ||||||||
<Error Condition="'@(_WasmAssembliesInternal)' == ''" Text="Item _WasmAssembliesInternal is empty" /> | ||||||||
<Error Condition="'$(_IsToolchainMissing)' == 'true'" | ||||||||
Text="$(_ToolchainMissingErrorMessage) SDK is required for AOT'ing assemblies." /> | ||||||||
|
Uh oh!
There was an error while loading. Please reload this page.