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 RUST: Language = Language {
    compiler: Compiler {
        main_file: "main.rs",
        args: Some(CommandArgs {
            binary: "rustc",
            args: &["-O", "main.rs"],
        }),
    },
    runner_args: CommandArgs {
        binary: "./main",
        args: &[],
    },
};