Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem with regex_macros #2

Closed
freiguy1 opened this issue Jan 31, 2015 · 1 comment · Fixed by #3
Closed

A problem with regex_macros #2

freiguy1 opened this issue Jan 31, 2015 · 1 comment · Fixed by #3

Comments

@freiguy1
Copy link
Contributor

At runtime, I'm getting an error:

error while loading shared libraries: libregex_macros-[...].so

after adding a reference to this library. After asking about this on irc, burntsushi said

you need to use #[no_link] #[plugin] extern crate regex_macros;

He then added why:

the reason why you need all this special stuff is because regex! is a compiler plugin and not just a normal macro. in fact, it won't work in the stable channel of Rust 1.0!

Could you fix this or get back to me on how I can continue on without it? Thanks!

BurntSushi added a commit to BurntSushi/handlebars-rust that referenced this issue Jan 31, 2015
@sunng87
Copy link
Owner

sunng87 commented Feb 4, 2015

Thanks for the information and patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants