mirror of
https://github.com/zeldaret/botw
synced 2026-05-31 01:15:31 -04:00
Merge pull request #54 from AlexApps99/rust
Added support for WIP function status
This commit is contained in:
@@ -8,6 +8,7 @@ pub enum Status {
|
||||
NonMatchingMinor,
|
||||
NonMatchingMajor,
|
||||
NotDecompiled,
|
||||
Wip,
|
||||
Library,
|
||||
}
|
||||
|
||||
@@ -51,6 +52,7 @@ fn parse_function_csv_entry(record: &csv::StringRecord) -> Result<Info> {
|
||||
Some('M') => Status::NonMatchingMajor,
|
||||
Some('O') => Status::Matching,
|
||||
Some('U') => Status::NotDecompiled,
|
||||
Some('W') => Status::Wip,
|
||||
Some('L') => Status::Library,
|
||||
Some(code) => bail!("unexpected status code: {}", 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 result = checker
|
||||
|
||||
Reference in New Issue
Block a user