-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nasm version detection and avoid panicking
nasm version parsing was failing on version strings with only 2 parts, which is common for nasm releases. Fixes xiph/rav1e#2482 Also avoids panics/unwraps/expects where reasonable in favor of bubbling them up as `Err`s. Libraries should avoid panicking when possible, and allow the caller to handle the errors. This requires a breaking change in function signatures to return `Result`s.
- Loading branch information
1 parent
96f0e6f
commit 91e0a98
Showing
2 changed files
with
118 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters