Generate bindings at compile-time #258
lints.yml
on: pull_request
crates
/
Clippy (MSRV)
48s
crates
/
Clippy (beta)
45s
crates
/
Intra-doc links
1m 41s
crates
/
Rustfmt
15s
tools
/
Clippy (MSRV)
18s
tools
/
Clippy (beta)
25s
tools
/
Intra-doc links
46s
tools
/
Rustfmt
3s
Annotations
4 errors and 4 warnings
the borrowed expression implements the required traits:
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)]`
|
the borrowed expression implements the required traits:
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
|
the borrowed expression implements the required traits:
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
|
aborting due to 3 previous errors
error: aborting due to 3 previous errors
|
tools / Clippy (MSRV)
The `deny` input is deprecated in v1.4 and can be used within the `check-args` input
|
tools / Clippy (beta)
The `warn` input is deprecated in v1.4 and can be used within the `check-args` input
|
crates / Clippy (beta)
The `warn` input is deprecated in v1.4 and can be used within the `check-args` input
|
crates / Clippy (MSRV)
The `deny` input is deprecated in v1.4 and can be used within the `check-args` input
|