diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2024-02-28 21:00:08 -0500 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-17 16:35:29 +0100 |
commit | d602f4694c6211720ea0854976342e958afc65ed (patch) | |
tree | 54e498b6a61bfd468b56ff476e313470da50a9e2 /gcc/gcov-dump.cc | |
parent | 3cf827ad4b97aadb2f6730bfc06794ff7a07f9de (diff) | |
download | gcc-d602f4694c6211720ea0854976342e958afc65ed.zip gcc-d602f4694c6211720ea0854976342e958afc65ed.tar.gz gcc-d602f4694c6211720ea0854976342e958afc65ed.tar.bz2 |
gccrs: Allow rustc_const_stable and rustc_const_unstable
gcc/rust/ChangeLog:
* expand/rust-macro-builtins.cc
(MacroBuiltin::builtin_transcribers):
Add entries for "rustc_const_stable" and "rustc_const_unstable".
* util/rust-attributes.cc
(__definitions): Add entries for RUSTC_CONST_STABLE and
RUSTC_CONST_UNSTABLE.
* util/rust-attribute-values.h
(Attributes::RUSTC_CONST_STABLE): New.
(Attributes::RUSTC_CONST_UNSTABLE): New.
gcc/testsuite/ChangeLog:
* rust/compile/rustc_const_stable.rs:
Enable feature rustc_attrs, expect no errors.
* rust/compile/rustc_const_unstable.rs: New test.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/gcov-dump.cc')
0 files changed, 0 insertions, 0 deletions