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

Compilation errors #28

Open
gizmo1904 opened this issue Feb 12, 2018 · 2 comments
Open

Compilation errors #28

gizmo1904 opened this issue Feb 12, 2018 · 2 comments

Comments

@gizmo1904
Copy link

gizmo1904 commented Feb 12, 2018

When I try to build my project with libhoare I'll get many compilation errors. I added the dependency to my Cargo.toml like this:
[dependencies.hoare] git = "https://github.com/nick29581/libhoare.git"

As a result I got 13 erros like this: error[E0425]: cannot find function intern in module token --> C:\Users\user1\.cargo\git\checkouts\libhoare-e8ae5b947a6d22d6\108e29a\libhoare/lib.rs:42:42 | 42 | reg.register_syntax_extension(token::intern("precond"), |
Am I doing something wrong? Thanks in advance.

@nrc
Copy link
Owner

nrc commented Feb 12, 2018

I think the code just needs updating - it uses unstable features and hasn't been kept up to date recently.

@mihaigalos
Copy link

mihaigalos commented Jan 8, 2019

I am learning Rust right now and as a modern language, I think this is absolutely a must-have feature.
IMHO Rust is already fully-packed with a cool syntax, default mutable variables, dependency management and tons of other features which justify migrating from i.e. C++ over to it.

I've tried compiling this as well but had errors. Since I am new to the language and still "prospecting", I currently cannot help with the development.

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

No branches or pull requests

3 participants