Closed
Description
Then we can skip linking the library and it won't be confusing. Perhaps
#[plugin(...any metas...)] extern crate "my-lib" as foo;
would become
plugin!("my-lib" ...any TTs...);
There's no need for as foo
because the library is not linked into the crate at all. The common case is just
plugin!(regex_macros);
when the crate name is a valid identifier and there are no arguments.
This entails making the name plugin!
special to the macro expander, since we need to locate plugins before we can load them.