You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove internal settings.LTO in favor of options.lto (#27422)
Followup to #27407
Because `settings.LTO` was an internal setting not used anywhere in
JavaScript libraries or runtime code. This change removes `LTO` from
`src/settings_internal.js` and stores `-flto` / `-fno-lto` state in
`options.lto` on `EmccOptions` instead.
In the long run I hope to use internal settings only for values that
need to flow out the the JS compiler.
diagnostics.warning('emcc', '.bc output file suffix used without -flto or -emit-llvm. Consider using .o extension since emcc will output an object file, not a bitcode file')
0 commit comments