Rust bindings refactor #228
Annotations
5 errors and 4 warnings
|
needless `fn main` in doctest:
rust/rust/src/../README.md#L20
error: needless `fn main` in doctest
--> ./rust/rust/src/../README.md:20:1
|
20 | / use binaryninja::headless::Session;
21 | | use binaryninja::binaryview::{BinaryViewBase, BinaryViewExt};
22 | |
23 | | fn main() {
... |
35 | | }
36 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
= note: `-D clippy::needless-doctest-main` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_doctest_main)]`
|
|
needless `fn main` in doctest:
rust/rust/src/../README.md#L64
error: needless `fn main` in doctest
--> ./rust/rust/src/../README.md:64:1
|
64 | / fn main() {
65 | | let link_path =
66 | | std::env::var_os("DEP_BINARYNINJACORE_PATH").expect("DEP_BINARYNINJACORE_PATH not specified");
... |
77 | | }
78 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
|
|
needless `fn main` in doctest:
rust/rust/src/../README.md#L113
error: needless `fn main` in doctest
--> ./rust/rust/src/../README.md:113:1
|
113 | / fn main() {
114 | | // You must initialize the core to use Binary Ninja.
115 | | let session = binaryninja::headless::Session::new().expect("Failed to initialize!");
116 | | // Once `session` is dropped, the core will be shutdown!
117 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
|
|
cargo clippy
Error: Clippy has exited with exit code 101
|
|
cargo test
Process completed with exit code 101.
|
|
typos
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
cargo fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
cargo clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
cargo test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|