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>
// 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"
* e.g. HIR conversion.
*/
-#include "rust-system.h"
#include "rust-session-manager.h"
#include "rust-tree.h"