Skip to content

[mono][wasi] Set the minimal set of FeatureFlags by default #94805

@lewing

Description

@lewing

We should review the all the runtime feature flags and document their impact on the wasi build and select an appriate default setting for each.

for example:

    <TrimMode>full</TrimMode>
    <WasmSingleFileBundle>true</WasmSingleFileBundle>
    <InvariantGlobalization>true</InvariantGlobalization>
    <InvariantTimezone>true</InvariantTimezone>
    <WasmBuildNative>true</WasmBuildNative>
    <WasmNativeStrip>false</WasmNativeStrip>
    <UseSystemResourceKeys>true</UseSystemResourceKeys>
    <PredefinedCulturesOnly>true</PredefinedCulturesOnly> <!-- some -->
    <MetricsSupport>false</MetricsSupport> <!-- nothing -->
    <DisableDependencyInjectionDynamicEngine>true</DisableDependencyInjectionDynamicEngine> <!-- nothing -->
    <JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
    <DebuggerSupport>false</DebuggerSupport>
    <EnableUnsafeUTF7Encoding>false</EnableUnsafeUTF7Encoding>
    <EventSourceSupport>false</EventSourceSupport>
    <EnableUnsafeBinaryFormatterSerialization>false</EnableUnsafeBinaryFormatterSerialization>
    <StartupHookSupport>false</StartupHookSupport>
    <AutoreleasePoolSupport>false</AutoreleasePoolSupport>
    <CustomResourceTypesSupport>false</CustomResourceTypesSupport>
    <MetadataUpdaterSupport>false</MetadataUpdaterSupport>
    <NullabilityInfoContextSupport>false</NullabilityInfoContextSupport>
    <DynamicCodeSupport>false</DynamicCodeSupport>
    <_AggressiveAttributeTrimming>true</_AggressiveAttributeTrimming>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions