Skip to content

Commit 3369929

Browse files
committed
tests: use force-host and no-prefer-dynamic in all proc_macro tests.
1 parent fcca22c commit 3369929

File tree

83 files changed

+122
-28
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+122
-28
lines changed

src/test/compile-fail/proc-macro/attribute.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// force-host
12+
// no-prefer-dynamic
13+
1114
#![crate_type = "proc-macro"]
1215

1316
extern crate proc_macro;

src/test/compile-fail/proc-macro/auxiliary/attr-stmt-expr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// force-host
1112
// no-prefer-dynamic
1213

1314
#![crate_type = "proc-macro"]

src/test/compile-fail/proc-macro/auxiliary/derive-bad.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// no-prefer-dynamic
1211
// force-host
12+
// no-prefer-dynamic
1313

1414
#![crate_type = "proc-macro"]
1515

src/test/compile-fail/proc-macro/auxiliary/more-gates.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// force-host
1112
// no-prefer-dynamic
1213

1314
#![crate_type = "proc-macro"]

src/test/compile-fail/proc-macro/auxiliary/proc-macro-gates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// no-prefer-dynamic
1211
// force-host
12+
// no-prefer-dynamic
1313

1414
#![crate_type = "proc-macro"]
1515

src/test/compile-fail/proc-macro/auxiliary/test-macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// force-host
1112
// no-prefer-dynamic
1213

1314
#![crate_type = "proc-macro"]

src/test/compile-fail/proc-macro/define-two.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// force-host
1112
// no-prefer-dynamic
1213

1314
#![crate_type = "proc-macro"]

src/test/compile-fail/proc-macro/export-macro.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
// error-pattern: cannot export macro_rules! macros from a `proc-macro` crate
1212

13+
// force-host
14+
// no-prefer-dynamic
15+
1316
#![crate_type = "proc-macro"]
1417

1518
#[macro_export]

src/test/compile-fail/proc-macro/exports.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// force-host
12+
// no-prefer-dynamic
13+
1114
#![crate_type = "proc-macro"]
1215
#![allow(warnings)]
1316

src/test/compile-fail/proc-macro/pub-at-crate-root.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// force-host
12+
// no-prefer-dynamic
13+
1114
#![crate_type = "proc-macro"]
1215

1316
extern crate proc_macro;

0 commit comments

Comments
 (0)