You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great project. I'm trying to compile it on a 2018 Macbook Pro, and I keep getting the following error:
error: inline assembly requires more registers than available
error: could not compile `halo2curves` (lib) due to 1 previous error
even when I try cargo build --release --features portable. Interestingly, debug mode does not cause this problem and everything succeeds. Is there something else I should do to prevent emission of unsupported assembly?
At the same time, trying to compile on a linux box, compilation succeeds, but the lurk repl immediately fails with an illegal instruction. I suspect I am failing to disable some kind of unsupported optimization, but does anyone have any pointers? In this second case, even debug mode results in the illegal instruction. Any thoughts?
The text was updated successfully, but these errors were encountered:
even when I try cargo build --release --features portable. Interestingly, debug mode does not cause this problem and everything succeeds. Is there something else I should do to prevent emission of unsupported assembly?
So I guess this is about modifying the flag [target.'cfg(target_arch = "x86_64")'.dependencies]
into [target.'cfg(and(target_arch = "x86_64", not(target_os = "macos")))'.dependencies]
Hi all,
Thanks for the great project. I'm trying to compile it on a 2018 Macbook Pro, and I keep getting the following error:
even when I try
cargo build --release --features portable
. Interestingly, debug mode does not cause this problem and everything succeeds. Is there something else I should do to prevent emission of unsupported assembly?At the same time, trying to compile on a linux box, compilation succeeds, but the
lurk
repl immediately fails with an illegal instruction. I suspect I am failing to disable some kind of unsupported optimization, but does anyone have any pointers? In this second case, even debug mode results in the illegal instruction. Any thoughts?The text was updated successfully, but these errors were encountered: