Add new default to compileCode as well

This commit is contained in:
Valtteri Karesto
2022-06-22 09:52:47 +03:00
parent e6574f9f12
commit 810eb4ca27

View File

@@ -39,7 +39,7 @@ export const compileCode = async (activeId: number) => {
files: [
{
type: "c",
options: state.compileOptions.optimizationLevel || '-O0',
options: state.compileOptions.optimizationLevel || '-O2',
name: state.files[activeId].name,
src: state.files[activeId].content,
},