Use --(no-)strip-wams instead of --(no-)-name-section in dart compile wasm (#150180)
This commit is contained in:
committed by
GitHub
parent
0cc27b993f
commit
32df505897
@@ -152,7 +152,7 @@ class WasmCompilerConfig extends WebCompilerConfig {
|
||||
final bool stripSymbols = buildMode == BuildMode.release && stripWasm;
|
||||
return <String>[
|
||||
'-O$optimizationLevel',
|
||||
'--${stripSymbols ? 'no-' : ''}name-section',
|
||||
'--${stripSymbols ? '' : 'no-'}strip-wasm',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user