Skip to content

Added Error::FFIError and propogating errors from dylib layer #273

Added Error::FFIError and propogating errors from dylib layer

Added Error::FFIError and propogating errors from dylib layer #273

Triggered via push January 3, 2025 19:18
Status Failure
Total duration 2m 45s
Artifacts

test.yaml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
bench
Process completed with exit code 1.
lint: tango-bench/src/lib.rs#L734
warning: struct `PlatformTimer` is never constructed --> tango-bench/src/lib.rs:734:23 | 734 | pub(super) struct PlatformTimer; | ^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
lint: tango-bench/src/lib.rs#L734
warning: struct `PlatformTimer` is never constructed --> tango-bench/src/lib.rs:734:23 | 734 | pub(super) struct PlatformTimer; | ^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
lint: tango-bench/src/dylib.rs#L67
warning: creating a mutable reference to mutable static is discouraged --> tango-bench/src/dylib.rs:67:18 | 67 | unsafe { SELF_VTABLE.take() }.map(|vt| spi_handle_for_vtable(vt, mode)) | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html> = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives = note: `#[warn(static_mut_refs)]` on by default
lint: tango-bench/src/dylib.rs#L67
warning: creating a mutable reference to mutable static is discouraged --> tango-bench/src/dylib.rs:67:18 | 67 | unsafe { SELF_VTABLE.take() }.map(|vt| spi_handle_for_vtable(vt, mode)) | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html> = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives = note: `#[warn(static_mut_refs)]` on by default