aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-target.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-target.def')
-rw-r--r--gcc/rust/rust-target.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/rust/rust-target.def b/gcc/rust/rust-target.def
index 285b7503..9c72c1c 100644
--- a/gcc/rust/rust-target.def
+++ b/gcc/rust/rust-target.def
@@ -40,5 +40,13 @@ compiled.",
void, (void),
hook_void_void)
+/* Environmental OS info relating to the target OS. */
+DEFHOOK
+(rust_os_info,
+ "Similar to @code{TARGET_RUST_CPU_INFO}, but is used for configuration info\n\
+relating to the target operating system.",
+ void, (void),
+ hook_void_void)
+
/* Close the 'struct gcc_targetrustm' definition. */
HOOK_VECTOR_END (C90_EMPTY_HACK)