-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Add more lints #70
base: main
Are you sure you want to change the base?
Conversation
Same as neqo.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #70 +/- ##
==========================================
+ Coverage 86.46% 86.71% +0.25%
==========================================
Files 5 5
Lines 554 557 +3
Branches 554 557 +3
==========================================
+ Hits 479 483 +4
- Misses 47 48 +1
+ Partials 28 26 -2 ☔ View full report in Codecov by Sentry. |
build.rs
Outdated
let out_path = std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap()).join(BINDINGS); | ||
let out_path = | ||
std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap_or_default()).join(BINDINGS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If OUT_DIR
isn't set, this would write to ./bindings.rs
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. A panic is probably better.
Same as neqo.