Add new default to compileCode as well
This commit is contained in:
@@ -39,7 +39,7 @@ export const compileCode = async (activeId: number) => {
|
|||||||
files: [
|
files: [
|
||||||
{
|
{
|
||||||
type: "c",
|
type: "c",
|
||||||
options: state.compileOptions.optimizationLevel || '-O0',
|
options: state.compileOptions.optimizationLevel || '-O2',
|
||||||
name: state.files[activeId].name,
|
name: state.files[activeId].name,
|
||||||
src: state.files[activeId].content,
|
src: state.files[activeId].content,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user