Apply #![feature(proc_macro_hygiene)] when needed

This allows the rust-bpf-builder toolchain to build the sdk
This commit is contained in:
Aaron Hill
2020-07-14 14:06:01 -04:00
committed by Michael Vines
parent e7387f60a7
commit 95490ff56e
2 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(specialization))]
#![cfg_attr(RUSTC_NEEDS_PROC_MACRO_HYGIENE, feature(proc_macro_hygiene))]
// Allows macro expansion of `use ::solana_sdk::*` to work within this crate
extern crate self as solana_sdk;