Avoid ICE in except.cc on targets that don't support exceptions.
[official-gcc.git] / gcc / config / default-rust.cc
blob3a1321e0d2b513c31eddc2c035e9d13179fefd30
1 /* Default Rust language target hooks initializer.
2 Copyright (C) 2022-2024 Free Software Foundation, Inc.
4 GCC is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 3, or (at your option) any later
7 version.
9 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
14 You should have received a copy of the GNU General Public License
15 along with GCC; see the file COPYING3. If not see
16 <http://www.gnu.org/licenses/>. */
18 #include "config.h"
19 #include "system.h"
20 #include "coretypes.h"
21 #include "tm_rust.h"
22 #include "rust/rust-target.h"
23 #include "rust/rust-target-def.h"
25 /* Do not include tm.h or tm_p.h here; definitions needed by the target
26 architecture to initialize targetrustm should instead be added to tm_rust.h.
29 struct gcc_targetrustm targetrustm = TARGETRUSTM_INITIALIZER;