aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-proc-macro.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/expand/rust-proc-macro.cc')
-rw-r--r--gcc/rust/expand/rust-proc-macro.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/expand/rust-proc-macro.cc b/gcc/rust/expand/rust-proc-macro.cc
index 6ba87b6..acd7f71 100644
--- a/gcc/rust/expand/rust-proc-macro.cc
+++ b/gcc/rust/expand/rust-proc-macro.cc
@@ -115,7 +115,7 @@ load_macros (std::string path)
const ProcMacro::ProcmacroArray *array = load_macros_array (path);
// Did not load the proc macro
if (array == nullptr)
- rust_unreachable ();
+ return {};
rust_debug ("Found %lu procedural macros", array->length);