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

Leading slash in relative path #66

Closed
NobbZ opened this issue Jan 15, 2017 · 1 comment
Closed

Leading slash in relative path #66

NobbZ opened this issue Jan 15, 2017 · 1 comment

Comments

@NobbZ
Copy link
Contributor

NobbZ commented Jan 15, 2017

In the documentation there is written:

  • path - The path to the crate directory relative to the project root.

But when do use something that looks like a relative path (eg. native/foo), compiliation fails with a message like the following:

Compiling NIF crate :foo (native/foo)...
Directory '/home/nobbz/projects/elixir/projectnative/foo' could not be found.
One of the crate directories specified for compilation does not exist.

If I do prepend that with a slash, then compilation works, but /native/foo looks like an absolute path.

@hansihe
Copy link
Member

hansihe commented Jan 15, 2017

This should be fixed in 351ac7f.

Thanks for the report!

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

2 participants