code-executor 2.7.0

A library designed for the backend of competitive programming platforms
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::{CommandArgs, Compiler, Language};

pub const CPP: Language = Language {
    compiler: Compiler {
        main_file: "main.cpp",
        args: Some(CommandArgs {
            binary: "g++",
            args: &["-o", "main", "main.cpp"],
        }),
    },
    runner_args: CommandArgs {
        binary: "./main",
        args: &[],
    },
};