Skip to content

Commit 17a74d3

Browse files
authored
Merge pull request #187 from Jefffrey/update_readme
Update README with ignore-host-XXX annotation
2 parents 687a1aa + ddf082e commit 17a74d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ their command specifies, or the test will fail without even being run.
2929

3030
* `//@ignore-C` avoids running the test when condition `C` is met.
3131
* `C` can be `target-XXX`, which checks whether the target triple contains `XXX`.
32+
* `C` can be `host-XXX`, which checks whether the host triple contains `XXX`.
3233
* `C` can also be one of `64bit`, `32bit` or `16bit`.
3334
* `C` can also be `on-host`, which will only run the test during cross compilation testing.
3435
* `//@only-C` **only** runs the test when condition `C` is met. The conditions are the same as with `ignore`.

src/status_emitter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ fn gha_error(error: &Error, test_path: &str, revision: &str) {
758758
let line = path.line();
759759
let path = path.display();
760760
let mut err =
761-
github_actions::error(&path, format!("Unmatched diagnostics{revision}"))
761+
github_actions::error(path, format!("Unmatched diagnostics{revision}"))
762762
.line(line);
763763
for Message {
764764
level,

0 commit comments

Comments
 (0)