diff options
author | mxlol233 <mxlol233@outlook.com> | 2023-01-12 22:08:57 +0800 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-04-06 10:47:19 +0200 |
commit | 476faea3563a559dfd708d7d878ed50f42b7c329 (patch) | |
tree | f923dadbfc4e34863d6695ff51369f3650027d70 /gcc/rust/resolve | |
parent | 7f5144d1c9638eee4499c45d6ee625ff670cbe69 (diff) | |
download | gcc-476faea3563a559dfd708d7d878ed50f42b7c329.zip gcc-476faea3563a559dfd708d7d878ed50f42b7c329.tar.gz gcc-476faea3563a559dfd708d7d878ed50f42b7c329.tar.bz2 |
gccrs: Add support for feature check.
This commit implements a very basic feature checking module.
gcc/rust/ChangeLog:
* Make-lang.in: Add object files: `rust-feature.o` and `rust-feature-gate.o`
* checks/errors/rust-feature-gate.cc: New file.
* checks/errors/rust-feature-gate.h: New file.
* checks/errors/rust-feature.cc: New file.
* checks/errors/rust-feature.h: New file.
* rust-session-manager.cc: Add FeatureGate check.
gcc/testsuite/ChangeLog:
* rust/compile/feature.rs: New test.
Signed-off-by: Xiao Ma <mxlol233@outlook.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions