-
Notifications
You must be signed in to change notification settings - Fork 647
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report
Tried to compile wasmer
inside the guest but ended up getting this error.
RISC0_DEV_MODE=1 RUST_LOG="[executor]=info" cargo run --release
Compiling methods v0.1.0 (/Users/prudhvirampey/Documents/stackrlabs/wasmX/methods)
wasm_runner: Starting build for riscv32im-risc0-zkvm-elfs(build)
wasm_runner: Compiling target-lexicon v0.12.14
wasm_runner: Compiling bytecheck v0.6.12
wasm_runner: Compiling hashbrown v0.14.3
wasm_runner: Compiling byteorder v1.5.0
wasm_runner: Compiling cranelift-codegen-shared v0.91.1
wasm_runner: Compiling parking_lot_core v0.9.9
wasm_runner: Compiling rkyv v0.7.44
wasm_runner: Compiling lock_api v0.4.11
wasm_runner: Compiling cranelift-codegen-meta v0.91.1
wasm_runner: error: failed to run custom build command for `target-lexicon v0.12.14`
wasm_runner:
wasm_runner: Caused by:
wasm_runner: process didn't exit successfully: `/Users/prudhvirampey/Documents/stackrlabs/wasmX/target/riscv-guest/release/build/target-lexicon-f7aba57ada830245/build-script-build` (exit status: 101)
wasm_runner: --- stderr
wasm_runner: thread 'main' panicked at /Users/prudhvirampey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/target-lexicon-0.12.14/build.rs:52:54:
wasm_runner: Invalid target name: 'riscv32im-risc0-zkvm-elf'
wasm_runner: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
wasm_runner: warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command
Motivation
Wondering if this requires upstream target support from the devs of target-lexicon
or if there could be a potential workaround in risc0?
Your Environment
- risc0-zkvm version: "0.21.0"
- Rust version: 1.76.0
- Platform/OS: mac (apple silicon)
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working