aboutsummaryrefslogtreecommitdiff
path: root/tests/rule_specific_macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rule_specific_macros.rs')
-rw-r--r--tests/rule_specific_macros.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/rule_specific_macros.rs b/tests/rule_specific_macros.rs
index 8cc9c12..34e7e77 100644
--- a/tests/rule_specific_macros.rs
+++ b/tests/rule_specific_macros.rs
@@ -1,10 +1,11 @@
+#![cfg(feature = "full")]
+
mod utils;
use std::fs;
use utils::{make, R};
#[test]
-#[cfg(feature = "full")]
fn target_specific_macros() -> R {
let dir = tempfile::tempdir()?;
@@ -26,7 +27,6 @@ foo.h:
#[test]
#[ignore = "not yet implemented"]
-#[cfg(feature = "full")]
fn target_specific_macros_inherited() -> R {
let dir = tempfile::tempdir()?;
@@ -54,7 +54,6 @@ prog : prog.o foo.o bar.o
#[test]
#[ignore = "not yet implemented"]
-#[cfg(feature = "full")]
fn inference_rule_specific_macros() -> R {
let dir = tempfile::tempdir()?;