-
Notifications
You must be signed in to change notification settings - Fork 306
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
Unable to compile with -Z build-std #1659
Comments
ping |
ok new info, compiling with
works across all packages, but =std and =panic_abort do not, they both complain about duplicate versions of core from
and
Any suggestions guys? |
The real command I want to run is this env -u CARGO_ENCODED_RUSTFLAGS -u RUSTC CARGO_MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9" CARGO_TARGET_DIR="..." RUSTFLAGS="-C target-cpu=mvp -C target-feature=-sign-ext -C link-arg=--export-table -Clink-arg=--export=__heap_base -C link-arg=--import-memory --cfg substrate_runtime " SKIP_WASM_BUILD="" "~/.rustup/toolchains/nightly-aarch64-apple-darwin/bin/cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=..." "--color=always" "--profile" "release" "-Z" "build-std" |
I posted this issue on the rust-lang repo, a reply seems to indicate that it is in fact a bug with -Z build-std |
Hello,
we are trying to use plonky2 in a substrate chain, and we have proofs verifying when tested in isolation, but we are unable to build the chain as a whole.
If we could compile plonky2 with
cargo build -Z build-std --target wasm32-unknown-unknown
that would solve our issues. Currently if you try that, you getAny suggestions?
The text was updated successfully, but these errors were encountered: