diff options
Diffstat (limited to 'gcc/rust/rust-session-manager.h')
-rw-r--r-- | gcc/rust/rust-session-manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/rust-session-manager.h b/gcc/rust/rust-session-manager.h index 5636a29590c..85d4d43e1b9 100644 --- a/gcc/rust/rust-session-manager.h +++ b/gcc/rust/rust-session-manager.h @@ -288,6 +288,7 @@ struct Session /* This should really be in a per-crate storage area but it is wiped with * every file so eh. */ std::string injected_crate_name; + std::map<std::string, std::string> extern_crates; /* extra files get included during late stages of compilation (e.g. macro * expansion) */ @@ -366,6 +367,8 @@ private: // handle cfg_option bool handle_cfg_option (std::string &data); + + bool handle_extern_option (std::string &data); }; } // namespace Rust |