aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-lang.cc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2022-07-28 12:04:28 +0200
committerPhilip Herron <philip.herron@embecosm.com>2022-08-12 16:04:34 +0100
commit3cd9342634e38100a9fa6a4bec4d958ca3a4ab60 (patch)
tree5e3aaa4f5fecf3606a03c1e8239d657aeafb3f26 /gcc/rust/rust-lang.cc
parent1c8ebf66965509008329b6e0425ffda407265263 (diff)
downloadgcc-3cd9342634e38100a9fa6a4bec4d958ca3a4ab60.zip
gcc-3cd9342634e38100a9fa6a4bec4d958ca3a4ab60.tar.gz
gcc-3cd9342634e38100a9fa6a4bec4d958ca3a4ab60.tar.bz2
Disable 'TARGET_RUST_CPU_INFO', 'TARGET_RUST_OS_INFO'
This finishes the revert of all the target hook info work. Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/rust-lang.cc')
-rw-r--r--gcc/rust/rust-lang.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/rust-lang.cc b/gcc/rust/rust-lang.cc
index 95c92f8..38b4582 100644
--- a/gcc/rust/rust-lang.cc
+++ b/gcc/rust/rust-lang.cc
@@ -104,6 +104,8 @@ struct GTY (()) language_function
void
rust_add_target_info (const char *key, const char *value)
{
+ sorry ("TODO");
+
Rust::Session::get_instance ().options.target_data.insert_key_value_pair (
key, value);
}