mirror of https://github.com/zeldaret/botw.git
Merge pull request #54 from AlexApps99/rust
Added support for WIP function status
This commit is contained in:
commit
e9dfd1327c
|
@ -8,6 +8,7 @@ pub enum Status {
|
||||||
NonMatchingMinor,
|
NonMatchingMinor,
|
||||||
NonMatchingMajor,
|
NonMatchingMajor,
|
||||||
NotDecompiled,
|
NotDecompiled,
|
||||||
|
Wip,
|
||||||
Library,
|
Library,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,6 +52,7 @@ fn parse_function_csv_entry(record: &csv::StringRecord) -> Result<Info> {
|
||||||
Some('M') => Status::NonMatchingMajor,
|
Some('M') => Status::NonMatchingMajor,
|
||||||
Some('O') => Status::Matching,
|
Some('O') => Status::Matching,
|
||||||
Some('U') => Status::NotDecompiled,
|
Some('U') => Status::NotDecompiled,
|
||||||
|
Some('W') => Status::Wip,
|
||||||
Some('L') => Status::Library,
|
Some('L') => Status::Library,
|
||||||
Some(code) => bail!("unexpected status code: {}", code),
|
Some(code) => bail!("unexpected status code: {}", code),
|
||||||
None => bail!("missing status code"),
|
None => bail!("missing status code"),
|
||||||
|
|
|
@ -79,7 +79,7 @@ fn check_function(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Status::NonMatchingMinor | Status::NonMatchingMajor => {
|
Status::NonMatchingMinor | Status::NonMatchingMajor | Status::Wip => {
|
||||||
let orig_fn = get_orig_fn()?;
|
let orig_fn = get_orig_fn()?;
|
||||||
|
|
||||||
let result = checker
|
let result = checker
|
||||||
|
|
Loading…
Reference in New Issue