This reverts commit aee941559c
.
The commit being reverted breaks compilation of a major Meson consumer
(Mesa). As a result, various distros are either pinning to <1.4.0 (before
the commit) or performing this same revert downstream.
Fixing a regression takes priority, so let's revert.
Fixes: https://github.com/mesonbuild/meson/issues/12973
pull/13252/head
parent
5365d9a842
commit
a66cb97e8c
5 changed files with 2 additions and 27 deletions
@ -1,8 +0,0 @@ |
|||||||
extern crate proc_macro_examples; |
|
||||||
use proc_macro_examples::make_answer; |
|
||||||
|
|
||||||
make_answer!(); |
|
||||||
|
|
||||||
pub fn func() -> u32 { |
|
||||||
answer() |
|
||||||
} |
|
@ -1 +0,0 @@ |
|||||||
pm_in_subdir = rust.proc_macro('proc_macro_examples3', '../proc.rs') |
|
@ -1,7 +0,0 @@ |
|||||||
extern crate staticlib; |
|
||||||
use staticlib::func; |
|
||||||
|
|
||||||
|
|
||||||
fn main() { |
|
||||||
assert_eq!(42, func()); |
|
||||||
} |
|
Loading…
Reference in new issue