From 237b43101673581f6033c0c2ca0d178cfa466866 Mon Sep 17 00:00:00 2001 From: Jeffrey <22608443+Jefffrey@users.noreply.github.com> Date: Wed, 27 Dec 2023 15:09:33 +1100 Subject: [PATCH 1/2] Update README with ignore-host-XXX annotation --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e92791ec..db68d8a2 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ their command specifies, or the test will fail without even being run. * `//@ignore-C` avoids running the test when condition `C` is met. * `C` can be `target-XXX`, which checks whether the target triple contains `XXX`. + * `C` can be `host-XXX`, which checks whether the host triple contains `XXX`. * `C` can also be one of `64bit`, `32bit` or `16bit`. * `C` can also be `on-host`, which will only run the test during cross compilation testing. * `//@only-C` **only** runs the test when condition `C` is met. The conditions are the same as with `ignore`. From ddf082ec4508b39d452cbbdec88f245217085c40 Mon Sep 17 00:00:00 2001 From: Jeffrey <22608443+Jefffrey@users.noreply.github.com> Date: Thu, 28 Dec 2023 08:38:56 +1100 Subject: [PATCH 2/2] Clippy --- src/status_emitter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_emitter.rs b/src/status_emitter.rs index e1519ff5..c8b50570 100644 --- a/src/status_emitter.rs +++ b/src/status_emitter.rs @@ -758,7 +758,7 @@ fn gha_error(error: &Error, test_path: &str, revision: &str) { let line = path.line(); let path = path.display(); let mut err = - github_actions::error(&path, format!("Unmatched diagnostics{revision}")) + github_actions::error(path, format!("Unmatched diagnostics{revision}")) .line(line); for Message { level,