Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/CiWorkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ jobs:
- name: Run cargo-clippy
run: cargo make clippy

- name: Check no-default-features
run: cargo make check-no-default-features

- name: 🧪 Run Tests 🧪
run: cargo make coverage

Expand Down
18 changes: 18 additions & 0 deletions .sync/rust/Makefiles/Makefile-patina-dxe-core-qemu.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,23 @@ description = "Checks rust code for errors. Example `cargo make check`"
clear = true
run_task = [{ name = ["check_no_std", "check_std", "check_tests"], parallel = true }]

[tasks.check-no-default-features-code]
description = "Checks rust code compiles without default features."
private = true
command = "cargo"
args = ["check", "--no-default-features", "@@split(CARGO_MAKE_TASK_ARGS, )"]

[tasks.check-no-default-features-tests]
description = "Checks rust test code compiles without default features."
private = true
command = "cargo"
args = ["test", "--no-run", "--no-default-features", "@@split(CARGO_MAKE_TASK_ARGS, )"]

[tasks.check-no-default-features]
description = "Checks rust code and tests compile without default features to catch feature-gate regressions."
clear = true
run_task = [{ name = ["check-no-default-features-code", "check-no-default-features-tests"], parallel = true }]

[tasks.test]
description = "Builds all rust tests in the workspace. Example `cargo make test`"
clear = true
Expand Down Expand Up @@ -526,6 +543,7 @@ dependencies = [
"deny",
"clippy",
"cspell",
"check-no-default-features",
"q35",
"ovmf",
"sbsa",
Expand Down
18 changes: 18 additions & 0 deletions .sync/rust/Makefiles/Makefile-patina-mtrr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,23 @@ description = "Checks rust code for errors. Example `cargo make check`"
clear = true
run_task = [{ name = ["check_no_std", "check_std", "check_tests"], parallel = true }]

[tasks.check-no-default-features-code]
description = "Checks rust code compiles without default features."
private = true
command = "cargo"
args = ["check", "--no-default-features", "@@split(CARGO_MAKE_TASK_ARGS, )"]

[tasks.check-no-default-features-tests]
description = "Checks rust test code compiles without default features."
private = true
command = "cargo"
args = ["test", "--no-run", "--no-default-features", "@@split(CARGO_MAKE_TASK_ARGS, )"]

[tasks.check-no-default-features]
description = "Checks rust code and tests compile without default features to catch feature-gate regressions."
clear = true
run_task = [{ name = ["check-no-default-features-code", "check-no-default-features-tests"], parallel = true }]

[tasks.llvm-cov-clean]
description = "Clean coverage data"
private = true
Expand Down Expand Up @@ -237,6 +254,7 @@ dependencies = [
"deny",
"clippy",
"cspell",
"check-no-default-features",
"build",
"build-x64",
"build-aarch64",
Expand Down
18 changes: 18 additions & 0 deletions .sync/rust/Makefiles/Makefile-patina-paging.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,23 @@ description = "Checks rust code for errors. Example `cargo make check`"
clear = true
run_task = [{ name = ["check_no_std", "check_std", "check_tests"], parallel = true }]

[tasks.check-no-default-features-code]
description = "Checks rust code compiles without default features."
private = true
command = "cargo"
args = ["check", "--no-default-features", "@@split(CARGO_MAKE_TASK_ARGS, )"]

[tasks.check-no-default-features-tests]
description = "Checks rust test code compiles without default features."
private = true
command = "cargo"
args = ["test", "--no-run", "--no-default-features", "@@split(CARGO_MAKE_TASK_ARGS, )"]

[tasks.check-no-default-features]
description = "Checks rust code and tests compile without default features to catch feature-gate regressions."
clear = true
run_task = [{ name = ["check-no-default-features-code", "check-no-default-features-tests"], parallel = true }]

[tasks.llvm-cov-clean]
description = "Clean coverage data"
private = true
Expand Down Expand Up @@ -212,6 +229,7 @@ dependencies = [
"deny",
"clippy",
"cspell",
"check-no-default-features",
"build-x64",
"build-aarch64",
"coverage",
Expand Down
18 changes: 18 additions & 0 deletions .sync/rust/Makefiles/Makefile-patina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,23 @@ private = true
command = "cargo"
args = ["test", "--no-run", "--all-targets", "--all-features", "@@split(CARGO_MAKE_TASK_ARGS, )"]

[tasks.check-no-default-features-code]
description = "Checks rust code compiles without default features."
private = true
command = "cargo"
args = ["check", "--no-default-features", "@@split(CARGO_MAKE_TASK_ARGS, )"]

[tasks.check-no-default-features-tests]
description = "Checks rust test code compiles without default features."
private = true
command = "cargo"
args = ["test", "--no-run", "--no-default-features", "@@split(CARGO_MAKE_TASK_ARGS, )"]

[tasks.check-no-default-features]
description = "Checks rust code and tests compile without default features to catch feature-gate regressions."
clear = true
run_task = [{ name = ["check-no-default-features-code", "check-no-default-features-tests"], parallel = true }]

[tasks.check]
description = "Checks rust code for errors. Example `cargo make check`"
clear = true
Expand Down Expand Up @@ -311,6 +328,7 @@ dependencies = [
"deny",
"cspell",
"clippy",
"check-no-default-features",
"build",
"build-x64",
"build-aarch64",
Expand Down