]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Merge #1737
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 3 Feb 2023 17:04:01 +0000 (17:04 +0000)
committerGitHub <noreply@github.com>
Fri, 3 Feb 2023 17:04:01 +0000 (17:04 +0000)
1737: Add  support for feature check. r=CohenArthur a=TuringKi

This commit implements a very basic feature checking module.

The results like this:

```

../gcc/testsuite/rust/compile/feature.rs:1:12: error: unknown feature 'AA'
    1 | #![feature(AA)] //{ dg-error "unknown feature 'AA'" }
      |            ^

```

This commit is split from pr https://github.com/Rust-GCC/gccrs/pull/1718.

Signed-off-by: Xiao Ma <mxlol233@outlook.com>
Co-authored-by: mxlol233 <mxlol233@outlook.com>
1  2 
gcc/rust/Make-lang.in

Simple merge