]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: attributes: Add #[macro_use] as builtin
authorArthur Cohen <arthur.cohen@embecosm.com>
Tue, 13 Sep 2022 14:30:28 +0000 (16:30 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 31 Jan 2023 13:16:51 +0000 (14:16 +0100)
commit739d0509ed55aa650f197618a0902c6e0553b639
tree2e49f896396db54b52c0eab0ac5fc4e769bed912
parentff9d7741d4b9d5255bc809a7505225216ecc7b86
gccrs: attributes: Add #[macro_use] as builtin

gcc/rust/ChangeLog:

* util/rust-attributes.cc: Add `macro_use` to list of builtin
attributes.

gcc/testsuite/ChangeLog:

* rust/compile/macro_export_1.rs: New test.
gcc/rust/util/rust-attributes.cc
gcc/testsuite/rust/compile/macro_export_1.rs [new file with mode: 0644]