aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r--gcc/rust/rust-backend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index 183f41a..700a376 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -116,6 +116,9 @@ public:
// Get the Host pointer size in bits
virtual int get_pointer_size () = 0;
+ // Get the raw str type const char*
+ virtual Btype *raw_str_type () = 0;
+
// Get an unnamed integer type with the given signedness and number
// of bits.
virtual Btype *integer_type (bool is_unsigned, int bits) = 0;