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 error on OpenBSD #132

Open
jsbmg opened this issue Dec 31, 2021 · 0 comments
Open

Compilation error on OpenBSD #132

jsbmg opened this issue Dec 31, 2021 · 0 comments

Comments

@jsbmg
Copy link

jsbmg commented Dec 31, 2021

I'm getting the following error when compiling with Rust 1.55 on OpenBSD:

  Compiling dijo v0.2.7
error: #[ctor] is not supported on the current target
   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/dijo-0.2.7/src/habit/traits.rs:104:1
    |
104 | generate_implementations!(Count, Bit, Float);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the attribute macro `$crate::ctor` (in Nightly builds, run with -Z macro-backtrace for more info)

error: failed to compile `dijo v0.2.7`, intermediate artifacts can be found at `/tmp/cargo-installYknXva`

I'm not sure what the obstacles to building this are on OpenBSD but it would be great to have support for it and I would be happy to help in any way I can.

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

1 participant