|
|
@ -169,7 +169,7 @@ fn check_libctru_version() -> Result<(String, String, String), Box<dyn Error>> { |
|
|
|
.expect("crate version should have '+' delimeter"); |
|
|
|
.expect("crate version should have '+' delimeter"); |
|
|
|
|
|
|
|
|
|
|
|
if lib_version != crate_built_version { |
|
|
|
if lib_version != crate_built_version { |
|
|
|
Err(format!( |
|
|
|
return Err(format!( |
|
|
|
"libctru version is {lib_version} but this crate was built for {crate_built_version}" |
|
|
|
"libctru version is {lib_version} but this crate was built for {crate_built_version}" |
|
|
|
) |
|
|
|
) |
|
|
|
.into()); |
|
|
|
.into()); |
|
|
|