mirror of https://github.com/ospab/ostp.git
The mipsel-unknown-linux-musl job in v0.4.2-beta.2 failed at "Install cross": cross-rs's own source uses a macro-at-end-of-block pattern (eyre::bail!()) that trips rustc's semicolon_in_expressions_from_macros lint on current toolchains. `cargo install` compiles the installed package as the "local" crate, so Cargo's usual automatic lint-capping for dependencies doesn't apply to cross's own code - and other cross-built targets in the same run (armv7, aarch64-linux, i686-linux) succeeded, so this reads as a race against cross-rs's unpinned `main` branch history (no --rev/--tag) rather than a deterministic break. RUSTFLAGS="--cap-lints=warn" is the standard mechanism for exactly this situation - building a third-party tool against a newer compiler than its own lint config assumed - without touching our own build's lint levels. More robust than pinning to one historical commit, which just relocates the same risk to whenever that pin is next updated. |
||
|---|---|---|
| .. | ||
| workflows | ||