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
run cargo risczero test from the directory bindings/rust in the blst directory.
The following warning appears in the terminal output:
warning: blst@0.3.11: warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: /Users/erik/blst/bindings/rust/target/riscv32im-risc0-zkvm-elf/debug/build/blst-66bf3377eb4d0726/out/libblst.a the table of contents is empty (no object file members in the library define global symbols)
followed by linker errors like these:
= note: rust-lld: error: /Users/erik/blst/bindings/rust/target/riscv32im-risc0-zkvm-elf/debug/build/blst-66bf3377eb4d0726/out/libblst.a(9cfc24e6b3ae334c-server.o):(.debug_rnglists+0x11): unknown relocation (60) against symbol .LFE0
rust-lld: error: /Users/erik/blst/bindings/rust/target/riscv32im-risc0-zkvm-elf/debug/build/blst-66bf3377eb4d0726/out/libblst.a(9cfc24e6b3ae334c-server.o):(.debug_rnglists+0x11): unknown relocation (61) against symbol .LFB0
rust-lld: error: /Users/erik/blst/bindings/rust/target/riscv32im-risc0-zkvm-elf/debug/build/blst-66bf3377eb4d0726/out/libblst.a(9cfc24e6b3ae334c-server.o):(.debug_rnglists+0x17): unknown relocation (60) against symbol .LFE1
Expected behavior
I would expect cargo risczero test compile and link successfully and start running tests
Your Environment
risc0-zkvm version: 0.21
Rust version: 1.77.2
Platform/OS: macOS
Additional context
Without the change to the Cargo.toml the compilation will fail with an error that originates from the getrandom crate. I'll file a separate issue for this.
The text was updated successfully, but these errors were encountered:
Bug Report
Running cargo risczero test in the blst crate's bindings/rust directory does not work.
Steps to Reproduce
cargo risczero
with theexperimental
feature by runningcargo install --force --path risc0/cargo-risczero -F experimental
https://github.com/supranational/blst.git
getrandom
cargo risczero test
from the directorybindings/rust
in the blst directory.followed by linker errors like these:
Expected behavior
I would expect
cargo risczero test
compile and link successfully and start running testsYour Environment
Additional context
Without the change to the Cargo.toml the compilation will fail with an error that originates from the
getrandom
crate. I'll file a separate issue for this.The text was updated successfully, but these errors were encountered: