feat: add main/subprocess mode to test harness #35
web.yml
on: pull_request
Build and deploy site and docs
12s
Annotations
8 errors and 1 warning
function `run_dylib_test` is never used:
src/harness/run.rs#L132
error: function `run_dylib_test` is never used
--> src/harness/run.rs:132:4
|
132 | fn run_dylib_test(test_dylib: &LinkOutput) -> Result<RunOutput, RunError> {
| ^^^^^^^^^^^^^^
|
function `write_val` is never used:
src/harness/run.rs#L90
error: function `write_val` is never used
--> src/harness/run.rs:90:26
|
90 | pub unsafe extern "C" fn write_val(
| ^^^^^^^^^
|
type alias `TestInit` is never used:
src/harness/run.rs#L78
error: type alias `TestInit` is never used
--> src/harness/run.rs:78:10
|
78 | pub type TestInit =
| ^^^^^^^^
|
type alias `WriteValCallback` is never used:
src/harness/run.rs#L77
error: type alias `WriteValCallback` is never used
--> src/harness/run.rs:77:10
|
77 | pub type WriteValCallback = unsafe extern "C" fn(&mut TestBuffer, u32, *const u8, u32) -> ();
| ^^^^^^^^^^^^^^^^
|
type alias `SetFuncCallback` is never used:
src/harness/run.rs#L76
error: type alias `SetFuncCallback` is never used
--> src/harness/run.rs:76:10
|
76 | pub type SetFuncCallback = unsafe extern "C" fn(&mut TestBuffer, u32) -> ();
| ^^^^^^^^^^^^^^^
|
method `run_dylib_test` is never used:
src/harness/run.rs#L13
error: method `run_dylib_test` is never used
--> src/harness/run.rs:13:18
|
12 | impl TestHarness {
| ---------------- method in this implementation
13 | pub async fn run_dylib_test(
| ^^^^^^^^^^^^^^
|
function `build_harness_dylib` is never used:
src/harness/build.rs#L133
error: function `build_harness_dylib` is never used
--> src/harness/build.rs:133:4
|
133 | fn build_harness_dylib(
| ^^^^^^^^^^^^^^^^^^^
|
methods `link_dylib` and `dynamic_lib_name` are never used:
src/harness/build.rs#L63
error: methods `link_dylib` and `dynamic_lib_name` are never used
--> src/harness/build.rs:63:18
|
12 | impl TestHarness {
| ---------------- methods in this implementation
...
63 | pub async fn link_dylib(
| ^^^^^^^^^^
...
102 | fn dynamic_lib_name(&self, key: &TestKey) -> String {
| ^^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
Build and deploy site and docs
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|