diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2025-05-26 17:11:19 -0400 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2025-05-27 08:06:47 +0000 |
commit | 57a1b013474f7724e547d03d8da4f4f179a005a4 (patch) | |
tree | 2ff02aa357dcd80ced6ccaa82ae59cfb3522f343 | |
parent | a497ed083516891db184e4e87a4b954dbd23ef06 (diff) | |
download | gcc-57a1b013474f7724e547d03d8da4f4f179a005a4.zip gcc-57a1b013474f7724e547d03d8da4f4f179a005a4.tar.gz gcc-57a1b013474f7724e547d03d8da4f4f179a005a4.tar.bz2 |
Adjust included headers in rust-lang.cc
This was upstreamed as part of ea34614225d4d255e58f63206eb12178b870cb4c
but never made it to our downstream repo. I've added Philip as a
co-author, since he wrote the upstream commit.
gcc/rust/ChangeLog:
* rust-lang.cc: Remove direct inclusion of "config.h" and
"system.h", move inclusion of "rust-system.h" upwards.
Co-authored-by: Philip Herron <herron.philip@googlemail.com>
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
-rw-r--r-- | gcc/rust/rust-lang.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/rust/rust-lang.cc b/gcc/rust/rust-lang.cc index 2776333..9409d81 100644 --- a/gcc/rust/rust-lang.cc +++ b/gcc/rust/rust-lang.cc @@ -16,9 +16,8 @@ // along with GCC; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. +#include "rust-system.h" #include "rust-diagnostics.h" -#include "config.h" -#include "system.h" #include "coretypes.h" #include "target.h" #include "tree.h" @@ -66,7 +65,6 @@ * e.g. HIR conversion. */ -#include "rust-system.h" #include "rust-session-manager.h" #include "rust-tree.h" |