diff --git a/Common/MU b/Common/MU index 2d6746b8f..243bd187e 160000 --- a/Common/MU +++ b/Common/MU @@ -1 +1 @@ -Subproject commit 2d6746b8fe04a9be3998b3e1a682a4cbffcd7345 +Subproject commit 243bd187e4aa6ac68a3eb323d07554576d39ad47 diff --git a/Makefile.toml b/Makefile.toml index fdcf5643f..c171fe2f3 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -88,3 +88,9 @@ clear = true command = "cargo" args = ["tarpaulin", "@@split(INDIVIDUAL_PACKAGE_TARGETS, )", "@@split(COV_FLAGS, )", "--output-dir", "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/target"] dependencies = ["individual-package-targets"] + +[tasks.clippy] +description = "Run cargo clippy." +clear = true +command = "cargo" +args = ["clippy", "--all-targets", "--", "-D", "warnings"] diff --git a/Platforms/QemuQ35Pkg/PlatformBuild.py b/Platforms/QemuQ35Pkg/PlatformBuild.py index d9429fecb..4aab557de 100644 --- a/Platforms/QemuQ35Pkg/PlatformBuild.py +++ b/Platforms/QemuQ35Pkg/PlatformBuild.py @@ -30,7 +30,7 @@ # Declare test whose failure will not return a non-zero exit code FAILURE_EXEMPT_TESTS = { # example "PiValueTestApp.efi": datetime.datetime(3141, 5, 9, 2, 6, 53, 589793), - "DxePagingAuditTestApp.efi": datetime.datetime(2024, 4, 17, 0, 0, 0, 0) + "DxePagingAuditTestApp.efi": datetime.datetime(2024, 7, 22, 0, 0, 0, 0) } # Allow failure exempt tests to be ignored for 90 days diff --git a/Platforms/QemuSbsaPkg/PlatformBuild.py b/Platforms/QemuSbsaPkg/PlatformBuild.py index 18c9ce469..5960cd2a9 100644 --- a/Platforms/QemuSbsaPkg/PlatformBuild.py +++ b/Platforms/QemuSbsaPkg/PlatformBuild.py @@ -26,7 +26,7 @@ # Declare test whose failure will not return a non-zero exit code FAILURE_EXEMPT_TESTS = { # example "PiValueTestApp.efi": datetime.datetime(3141, 5, 9, 2, 6, 53, 589793), - "DxePagingAuditTestApp.efi": datetime.datetime(2024, 4, 17, 0, 0, 0, 0) + "DxePagingAuditTestApp.efi": datetime.datetime(2024, 7, 22, 0, 0, 0, 0) } # Allow failure exempt tests to be ignored for 90 days diff --git a/rustfmt.toml b/rustfmt.toml index 3e776a3ba..3108b82de 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -15,7 +15,7 @@ newline_style = "Windows" # Always use Windows line endings '\r\n' reorder_impl_items = false # Do not force where type and const before macros and methods in impl blocks. reorder_imports = true # Do reorder import and extern crate statements alphabetically for readability. reorder_modules = true # Do reorder mod declarations alphabetically for readability. -tab_spaces = 2 # Use 2 spaces for indentation (Rust default is 4). +tab_spaces = 4 # Use 4 spaces for indentation (Rust default). unstable_features = false # Do not use unstable rustfmt features. use_small_heuristics = "Max" # Set all granular width settings to the same as max_width (do not use heuristics) wrap_comments = false # Leave comment formatting to author's discretion