Impl Debug for some structs of rustbuild

This commit is contained in:
ohno418 2022-08-14 19:33:32 +09:00
parent 2fbc08e2ce
commit 0931358d88
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ pub struct Flags {
pub llvm_profile_generate: bool,
}
#[derive(Debug)]
#[cfg_attr(test, derive(Clone))]
pub enum Subcommand {
Build {

View File

@ -11,7 +11,7 @@ use std::{
io::{self, Write},
};
#[derive(Clone, Copy, Eq, PartialEq)]
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum Profile {
Compiler,
Codegen,