Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/edda

crates/nornir-testmatrix/tests/fixtures/broken_target/Cargo.toml

# Test fixture: a repo whose declared test targets DO NOT COMPILE.
#
# This is the hole `targetcheck` exists to close. `cargo check` on this crate is
# clean — the library is fine — and `cargo test` reports the ONE target it can
# build and says nothing whatsoever about the other two. A `cargo test` that
# stops at the first error names one of them; nothing names the second.
#
#   compiles.rs      — fine, and must stay green so the guard is not blindly red.
#   does_not.rs      — E0425: calls a function the lib does not have.
#   also_does_not.rs — E0308: passes the wrong type. Only reachable at all
#                      because the guard passes `--keep-going`; without it cargo
#                      aborts after the first broken target and this one is
#                      invisible, which is exactly nornir's 26-of-98 shape.
#   gpu_only.rs      — carries `required-features = ["gpu"]`, so cargo SKIPS it
#                      silently on a default build. It must appear as its own
#                      configuration, and it must COMPILE there.
#
# Standalone `[workspace]` + zero dependencies so the parent never builds it and
# `cargo metadata --no-deps` resolves offline.
[package]
name = "broken_target"
version = "0.0.0"
edition = "2021"
publish = false

[features]
default = []
gpu = []

[[test]]
name = "gpu_only"
required-features = ["gpu"]

[workspace]