File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ impl Args {
102102 use wasm_opt:: { Feature , OptimizationOptions } ;
103103
104104 let mut options = OptimizationOptions :: new_optimize_for_size_aggressively ( ) ;
105+ options. converge = true ;
105106
106107 // Explicitly set to MVP + sign-ext + mutable-globals, which happens to
107108 // also be the default featureset, but just to be extra clear we set it
@@ -110,10 +111,10 @@ impl Args {
110111 // Formerly Soroban supported only the MVP feature set, but Rust 1.70 as
111112 // well as Clang generate code with sign-ext + mutable-globals enabled,
112113 // so Soroban has taken a change to support them also.
113- options. converge = true ;
114114 options. mvp_features_only ( ) ;
115115 options. enable_feature ( Feature :: MutableGlobals ) ;
116116 options. enable_feature ( Feature :: SignExt ) ;
117+
117118 options
118119 . run ( & self . wasm , output)
119120 . map_err ( Error :: OptimizationError )
You can’t perform that action at this time.
0 commit comments