wasm-builder: Use riscv32emac-unknown-none-polkavm.json target#6419
wasm-builder: Use riscv32emac-unknown-none-polkavm.json target#6419jarkkojs merged 41 commits intoparitytech:masterfrom jarkkojs:wasm-builder-riscv32emac
Conversation
|
How do I pass |
|
After change |
|
So the issue here is compiling PolkaVM itself to |
I th
Aah so labels are labels in Github? OK cool I thought I has something missing in the commit itself. |
|
Yes it checks that you have all the required github labels |
|
@koute looking pretty good but i don't know what the remaining error messages even mean :-) Summary of remaining issues:
|
Signed-off-by: Jarkko Sakkinen <jarkko@parity.io>
|
They seem all to be unrelated to your changes. The CI is notoriously flaky. Merging master and praying is what you do in these cases. |
Co-authored-by: Koute <koute@users.noreply.github.com>
Signed-off-by: Jarkko Sakkinen <jarkko@parity.io>
Signed-off-by: Jarkko Sakkinen <jarkko@parity.io>
Signed-off-by: Jarkko Sakkinen <jarkko@parity.io>
|
I am confused that this even works. The Lines 1093 to 1094 in a1af8ed |
|
Looks like the build runtime tests are failing, so yes, the derive and the linker crates should also be bumped. |
I posted this on Tuesday: I.e. still not knowing what to do (day three). |
|
Answered here: #6419 (comment) |
Signed-off-by: Jarkko Sakkinen <jarkko@parity.io>
Signed-off-by: Jarkko Sakkinen <jarkko@parity.io>
Signed-off-by: Jarkko Sakkinen <jarkko@parity.io>
…ytech#6419) # Description Closes paritytech#6335. ## Integration N/A ## Review Notes `RuntimeTarget` is converted to return path to the custom target JSON file --------- Signed-off-by: Jarkko Sakkinen <jarkko@parity.io> Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: Koute <koute@users.noreply.github.com>
…ytech#6419) # Description Closes paritytech#6335. ## Integration N/A ## Review Notes `RuntimeTarget` is converted to return path to the custom target JSON file --------- Signed-off-by: Jarkko Sakkinen <jarkko@parity.io> Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: Koute <koute@users.noreply.github.com>
| // This is a nightly-only flag. | ||
| let arg = match self { | ||
| RuntimeTarget::Wasm => "build-std", | ||
| RuntimeTarget::Riscv => "build-std=core,alloc", |
There was a problem hiding this comment.
It is required for both targets but for different reasons:
wasm: The rustup provided standard library is compiled with wasm extensions enabled we dont support. Hence we need to recompile it.
riscv: Rustup doesn't contain any prebuilt binaries for this target. Hence we need to build it ourselves.
There was a problem hiding this comment.
Yeah, so I guessed, i.e. it should be official target in rustc upstream to have prebuilt binaries, right?
There was a problem hiding this comment.
[not actually at work yet, my keyboard just writes by itself]
There was a problem hiding this comment.
@athei Thanks for the clarification! I think Parity could add to the pre-compiled libraries to riscv32emac-unknown-none-polkavm target in rlib format like the wasm32-unknown-unknown target does (located in ./lib/rustlib/wasm32-unknown-unknown/lib/libcore-192e883b194683b6.rlib).
…ytech#6419) # Description Closes paritytech#6335. ## Integration N/A ## Review Notes `RuntimeTarget` is converted to return path to the custom target JSON file --------- Signed-off-by: Jarkko Sakkinen <jarkko@parity.io> Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: Koute <koute@users.noreply.github.com>
Description
Closes #6335.
Integration
N/A
Review Notes
RuntimeTargetis converted to return path to the custom target JSON file