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 failure when building for non-assigner target #11

Open
aleasims opened this issue May 15, 2023 · 0 comments
Open

Compilation failure when building for non-assigner target #11

aleasims opened this issue May 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@aleasims
Copy link
Contributor

When building code with zkLLVM types for non-assigner target (e.g. x86‑64) you will most likely get a segmentation fault.

Example:

fn main() {
    let x: __zkllvm_field_pallas_base = 1g;
    if x + 1g == 2g {
        println!("x is one");
    }
}

— this code causes a segmentation fault at compilation.

Of course we can't compile such code for any non-assigner target. However it would be nice to have something more user-friendly than a segmentation fault.

@aleasims aleasims added the enhancement New feature or request label May 15, 2023
@aleasims aleasims self-assigned this May 15, 2023
@aleasims aleasims added the bug Something isn't working label Jun 19, 2023
@aleasims aleasims removed the enhancement New feature or request label Jun 30, 2023
@aleasims aleasims removed their assignment Jul 5, 2023
@aleasims aleasims self-assigned this Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant