fix: minor issues with CI

* update ctor

* pass empty `RUSTFLAGS` when installing cross, overriding
the default `-D warnings`

* fix some clippy lints

* create `target` directory before curling wasmtime lib
This commit is contained in:
Will Lillis 2024-12-03 16:41:38 -05:00 committed by GitHub
parent e445532a1f
commit c7b218838d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 11 deletions

View file

@ -171,7 +171,7 @@ pub fn iterate_assertions(
// position, looking for one that matches the assertion.
let mut j = i;
while let (false, Some(highlight)) = (passed, highlights.get(j)) {
end_column = (*position).column + length - 1;
end_column = position.column + length - 1;
if highlight.0.column > end_column {
break 'highlight_loop;
}