Currently, the compiler runner adds the gcc/g++ arguments
This is specific to gcc/g++ and should be handler by the compiler and not the runner
|
match output_path.to_str() { |
|
Some(path) => { |
|
// TODO this should probably somewhere else like `compiler` because this is |
|
// specific to gcc/g++ |
|
args.push(String::from("-fdiagnostics-color=always")); |
|
args.push(String::from("-o")); |
|
args.push(String::from(path)); |
This refactor is important so we can start other build tools like xmake, cmake and java for instance