Rollup merge of #100524 - ohno418:impl-debug-for-some-rustbuild-structs, r=Mark-Simulacrum
Impl `Debug` for some structs of rustbuild A small patch to impl `Debug` for some structs of rustbuild to make debugging easier. (I was trying to impl `Debug` for the `Config` struct, but found to have a bit more things to do. So gave up for now.)
This commit is contained in:
commit
923fe98241
2 changed files with 2 additions and 1 deletions
|
@ -80,6 +80,7 @@ pub struct Flags {
|
|||
pub llvm_profile_generate: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[cfg_attr(test, derive(Clone))]
|
||||
pub enum Subcommand {
|
||||
Build {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue