Module rustc_plugin::load [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Used by rustc
when loading a plugin.
Re-exports
use rustc::session::Session; |
use rustc_metadata::creader::CrateLoader; |
use rustc_metadata::cstore::CStore; |
use registry::Registry; |
use std::borrow::ToOwned; |
use std::env; |
use std::mem; |
use std::path::PathBuf; |
use syntax::ast; |
use syntax_pos::Span; |
use syntax_pos::DUMMY_SP; |
Structs
PluginLoader |
[ Experimental ]
|
PluginRegistrar |
[ Experimental ]
|
Functions
call_malformed_plugin_attribute |
[ Experimental ]
|
load_plugins |
[ Experimental ] Read plugin metadata and dynamically load registrar functions. |
Type Definitions
PluginRegistrarFun |
[ Experimental ] Pointer to a registrar function. |