Visitar URL original
Add CI coverage of only_hack_old_rustc · dtolnay/proc-macro-hack@a991a7e · GitHub
Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit a991a7e

Browse files
committed
Add CI coverage of only_hack_old_rustc
1 parent a610756 commit a991a7e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
rust: [nightly, beta, stable, 1.42.0, 1.31.0]
15+
rust: [nightly, beta, stable, 1.45.0, 1.42.0, 1.31.0]
1616
steps:
1717
- uses: actions/checkout@v2
1818
- uses: dtolnay/rust-toolchain@master

‎demo-hack/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ use proc_macro_hack::proc_macro_hack;
33
/// Add one to an expression.
44
///
55
/// (Documentation goes here on the re-export, not in the other crate.)
6-
#[proc_macro_hack]
6+
#[proc_macro_hack(only_hack_old_rustc)]
77
pub use demo_hack_impl::add_one;

0 commit comments

Comments
 (0)