Generate bindings at compile-time #258
Annotations
4 errors and 1 warning
Run Clippy:
crates/sys/build.rs#L266
error: the borrowed expression implements the required traits
--> sys/build.rs:266:34
|
266 | let sdk_opts = load_sdk_opts(&sdk_headers.join(SDK_OPTS));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `sdk_headers.join(SDK_OPTS)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
|
Run Clippy:
crates/sys/build.rs#L269
error: the borrowed expression implements the required traits
--> sys/build.rs:269:32
|
269 | let symbols = load_symbols(&sdk_headers.join(&replace_sdk_root_dir(&sdk_opts.sdk_symbols)));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `sdk_headers.join(&replace_sdk_root_dir(&sdk_opts.sdk_symbols))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
Run Clippy:
crates/sys/build.rs#L269
error: the borrowed expression implements the required traits
--> sys/build.rs:269:50
|
269 | let symbols = load_symbols(&sdk_headers.join(&replace_sdk_root_dir(&sdk_opts.sdk_symbols)));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `replace_sdk_root_dir(&sdk_opts.sdk_symbols)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
Run Clippy
error: aborting due to 3 previous errors
|
Run Clippy
The `deny` input is deprecated in v1.4 and can be used within the `check-args` input
|
Loading