From: Sebastian Thiel Date: Tue, 1 Mar 2022 03:09:49 +0000 (+0800) Subject: trigger another failure by using [target.'cfg(…)'.dependencies] syntax X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9ede09a1c8a7fe0214fd786489a66ed79cd40d74;p=cargo.git trigger another failure by using [target.'cfg(…)'.dependencies] syntax --- diff --git a/tests/testsuite/artifact_dep.rs b/tests/testsuite/artifact_dep.rs index 114259fc1..fda135f7e 100644 --- a/tests/testsuite/artifact_dep.rs +++ b/tests/testsuite/artifact_dep.rs @@ -426,6 +426,7 @@ fn features_are_not_unified_among_lib_and_bin_dep_of_different_target() { } #[cargo_test] +#[ignore] fn feature_resolution_works_for_cfg_target_specification() { if cross_compile::disabled() { return; @@ -465,8 +466,7 @@ fn feature_resolution_works_for_cfg_target_specification() { version = "0.0.1" authors = [] - # [target.'cfg(target_arch = "$ARCH")'.dependencies] - [dependencies] + [target.'cfg(target_arch = "$ARCH")'.dependencies] d2 = { path = "../d2" } "# .replace("$ARCH", target_arch), @@ -481,7 +481,7 @@ fn feature_resolution_works_for_cfg_target_specification() { .file( "d1/src/lib.rs", &r#"pub fn f() { - // #[cfg(target_arch = "$ARCH")] + #[cfg(target_arch = "$ARCH")] d2::f(); } "#